+ 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
8 Respostas
+ 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
+ 7
I downloaded the video and It doesnât even work in my phone đ
+ 3
It's working perfectly on my device
+ 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
+ 2
Change the end of the link
From
?dl=1
to
?raw=1
Reference :
https://code.sololearn.com/WIuQrxf096xt/?ref=app
+ 2
Gordon
The video url is correct I mean all the pictures of video are showing ...
But the play button is not working ...
+ 1
it is working now