Friday, 23 August 2013

youtube in video tag

youtube in video tag

I've been told that the HTML video tag can host YouTube videos. My guess
is that the video "src" tag would point to an ordinary YouTube URL, and
then the "type" would be mp4 if the original video was mp4, "webm" if the
original uploaded video was webm, etc. But maybe not.
Can anyone help on this? I do see 2 similar questions on stackoverflow,
but one answer says to use an iframe instead and forget about the video
tag, which I've been told is NOT necessary, and the other says to go to a
website and look at it, which I was uneasy about doing.
Thanks in advance.

No comments:

Post a Comment