wwl777
Junior Member
I'm trying to embed a video and making it work safari using a .mp4 file (should also apply to iphone and ie9). This is my code:
Now in Firefox, Opera and Chrome it's working (after adding video type support in .htaccess). In Safari it's just giving the no support message. I've also tried adding the type code type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' , but it didn't matter.
Any ideas here?
Code:
<video width="320" height="240" controls preload="none"> <source src="video/ingebruikname_orgel_handbrake.mp4"> <source src="video/ingebruikname_orgel_firefogg.ogv" type='video/ogg codecs="theora, vorbis"'> No browser support message..</video>
Now in Firefox, Opera and Chrome it's working (after adding video type support in .htaccess). In Safari it's just giving the no support message. I've also tried adding the type code type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' , but it didn't matter.
Any ideas here?