Problem with playing videos using HTML5 native tag

4

Recently I hosted a video file on MP4 on my server and used the native HTML5 tag for media playback on the website. The sound comes out normally and the video is not displayed (I tested it on my PC and it runs both audio and video).

I suspect the problem is buffer because it contains an approximate size of 142MB (about 1h16m of playback). How can I fix this?

HTML code:

<video width="500" height="250" autoplay controls>
      <source src="meu_arquivo_mp4.mp4" type="video/mp4">
</video>
    
asked by anonymous 17.06.2015 / 07:18

1 answer

4

Try converting the video to mp4 but this time using the H.264 codec

H.264 Video Audio AAC

HTML5 Video Encoding

    
17.06.2015 / 10:49