July 1, 201412 yr have added a video file in one of my project using html 5 video tag. working fine in Firefox and chrome but not working in safari and ios.... what should i do now??
July 12, 201412 yr The video needs to be MP4 to work in Safari. Do you have a .mp4 version? More info here: http://www.w3schools.com/html/html5_video.asp
July 19, 201412 yr It depends of the version of Safari you use, you have to put the video in various formats to work in all browsers for example:<video ...><source src=”” type=’video/mp4;codecs=””..../><source src=”” type=’video/webm;codecs=””..../></video>Also if you want to avoid compatibility issues with html5 I recommend you to use other options like flash videos, the major part of computers support it...
July 19, 201412 yr Also if you want to avoid compatibility issues with html5 I recommend you to use other options like flash videos, the major part of computers support it... But then it won't work on iOS or current Android devices.
July 19, 201412 yr But then it won't work on iOS or current Android devices. It will if you embed the flash video as a fall back (nested within the video tags) it that case the handheld devices will play the HTML5 videos and ignore the flash file.
Create an account or sign in to comment