Why this video is not playing? [SOLVED] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Why this video is not playing? [SOLVED]

I am making a new code in which I need this video but I dunno why this video is not playing at all😫😫... I am trying to solve the problem I failed .. Now it's up to you my friends... Help me https://code.sololearn.com/WeKrUCDcxrin/?ref=app

22nd Apr 2019, 10:20 AM
Shourya
Shourya - avatar
7 Answers
+ 5
You need to specify the video format is mp4 if you are using old tag video so that the browser will prepare the corresponding decoder. Otherwise using the new tag iframe. Reference : https://code.sololearn.com/WYT7GkZug1WN/?ref=app
22nd Apr 2019, 11:03 AM
Gordon
Gordon - avatar
+ 7
I downloaded the video and It doesn’t even work in my phone 😂
22nd Apr 2019, 10:28 AM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
+ 3
It's working perfectly on my device
22nd Apr 2019, 10:50 AM
KING
KING - avatar
+ 3
Coder iframe is preferred here. video tag is not working with mp4 for some browser, here is quote from MDN: If you're missing the right codec to decode the media, it just won't play. Note: You might be wondering why this situation exists. MP3 (for audio) and MP4/H.264 (for video) are both widely supported, and good quality. However, they are also patent encumbered — American patents cover MP3 until at least 2017, and H.264 until 2027 at the earliest, meaning that browsers that don't hold the patent have to pay huge sums of money to support these formats. In addition, many people avoid restricted software on principle, in favour of open formats. This is why we have to provide multiple formats for different browsers. Ref: https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Video_and_audio_content
22nd Apr 2019, 4:42 PM
Gordon
Gordon - avatar
+ 2
Change the end of the link From ?dl=1 to ?raw=1 Reference : https://code.sololearn.com/WIuQrxf096xt/?ref=app
22nd Apr 2019, 10:39 AM
Gordon
Gordon - avatar
+ 2
Gordon The video url is correct I mean all the pictures of video are showing ... But the play button is not working ...
22nd Apr 2019, 10:55 AM
Shourya
Shourya - avatar
+ 1
it is working now
22nd Apr 2019, 1:51 PM
Malebu
Malebu - avatar