youtubejs is Pure Javascript that allows you to embed youtube videos.
Run the command:
youtubejs.embed("[place your width here]", "[place your height here]", "[video id]", "[ssl or not! accepted values: string true if equals "true"]");
For [video id], the id is what is after http://www.youtube.com/watch?v=
Note: document.write("<yt-embed width="[place your width here]" height="[place your height here]" videoid="[video id]"></yt-embed>");
Will only work if youtubejs.update()
is called after it.
Add the element <yt-embed>
It should look like:
<yt-embed width="[place your width here]" height="[place your height here]" videoid="[video id]" ssl="[ssl or not! accepted values: string true if equals "true"]"></yt-embed>
youtubejs is Pure Javascript that allows you to embed youtube videos.
Run the command:
youtubejs.embed("[place your width here]", "[place your height here]", "[video id]");
For [video id], the id is what is after http://www.youtube.com/watch?v=
Note: document.write("<yt-embed width="[place your width here]" height="[place your height here]" videoid="[video id]"></yt-embed>");
Will not work.
Add the element <yt-embed>
It should look like:
<yt-embed width="[place your width here]" height="[place your height here]" videoid="[video id]"></yt-embed>