html5 video

AnswerStackCategory: Generalhtml5 video
JohnArtbox asked 6 years ago

Hi, I’m trying to play a youtube video in my html5 application without success. It simple shows the video controls with a blank screen. If I right click on the window in the browser and open video in new tab it works. Can you do a tutorial on this? I now you can play a video that is locally hosted but surely there is a way to play youtube or vime?
Thanks for any help you can give.

1 Answers
Danny Staff answered 6 years ago

Hi John,
I’ve never actually tried to stream though an external video before. I don’t think the HTML5 object can do this. Mostly, this is due to the fact YT and other sharing sites, only provide you with the “container” code to share/embed, as opposed to the direct video URL on the server(s).