+ 8

How to play you tube videos directly in htm5 video element ?

15th Mar 2019, 8:25 AM
Gokul S
8 ответов
+ 31
Like This: <h1>My Media</h1> <iframe height="150" width="300" src="https://www.youtube.com/embed/Q6_5InVJZ88" allowfullscreen frameborder="0"></iframe> <!--The src is up to you!!!-->😊✌
16th Mar 2019, 4:28 PM
K͜͡ɩnɢ・ムzizi 🖤
K͜͡ɩnɢ・ムzizi 🖤 - avatar
+ 13
1:Take a note of the video id. 2:Define an <iframe> element in your web page. 3:Let the src attribute point to the video URL. // i think it may help you bro😉
15th Mar 2019, 8:44 AM
Max Andal
Max Andal - avatar
+ 10
You may find this helpful: https://stackoverflow.com/questions/5157377/show-youtube-video-source-into-html5-video-tag However, I was not able to get the solution to work in the Code Playground (video won't play). I would recommend an iframe instead. https://www.sololearn.com/learn/338/?ref=app You may also find this helpful: https://code.sololearn.com/W2dQpsafNWav/?ref=app
16th Mar 2019, 2:27 AM
Janning⭐
Janning⭐ - avatar
+ 7
The only (legitimate) way to show a youtube video on another page is use the embed link than youtube give you
15th Mar 2019, 8:41 AM
KrOW
KrOW - avatar
+ 5
insert the videos direct uniform resource location (URL) in the src to point directly to the video
15th Mar 2019, 3:44 PM
George S Mulbah II
George S Mulbah II - avatar
+ 3
Insert the video url in the video src Or you an iframe tag and and Paste the url in the iframe src
16th Mar 2019, 11:04 AM
Alpha
Alpha - avatar
+ 2
you have to use YouTube API
15th Mar 2019, 9:34 PM
TOURE SOULEYMANE
TOURE SOULEYMANE - avatar
0
2
16th Mar 2019, 4:59 AM
ساسان شیبانی