0
Video not playing
My video is not playing. Help me It's a YouTube video https://code.sololearn.com/Wo57Ni7HcoEG/?ref=app
6 Antworten
+ 4
Video tag supports only video formats (like mp4 etc). Youtube does not expose its raw video files - it only exposes the unique id of the video. Since that id does not correspond to the actual file, video tag cannot be used
https://stackoverflow.com/questions/19836015/youtube-url-in-video-tag
+ 6
Rishi After the body tag you added video controls while closing you wrote </audio>
Also check the link
+ 3
You can't just add a YouTube video in video tag like other videos. So, it's better to use iframe tag instead.
<iframe width="340" height="250" src="https://www.youtube.com/embed/2ZrWHtvSog4"></iframe>
+ 3
If you would like to play the videos from platforms such as vimeo and youtube. You should use the iframe. Please check the below link, i have added your video link to iframe.
https://code.sololearn.com/W0wL8CdXzOUU/?ref=app
+ 1
Simba tnx tnx tnx =)
0
What video can I play with <video> tag?