Search code examples
htmlvideosafarimp4ogg

mp4 video won't load in Safari (Status: pending / Type: undefined)


<source src="../../_media/videos/Video.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />

I am wondering why this video is not loading in Safari 5 - Chrome / Firefox are working perfectly.

WebSniffer is telling me the correct type but in the safari dev tools i receive Type=undefined.

Does anyone have a clue? I also added a .htaccess but am not sure where exactly to place it - root, media folder or html folder?

Great if anyone could help me


Solution

  • Found the issue last night. Since I was on a testing environment using https and authorization Safari could not load the videos.

    All other browsers did have no problem with it - Safari however does have issues with this:)