HTML5 video with video.js not working in Safari -
i have private website hosts training videos using html5 video tag , video.js plugin. working in chrome/firefox/safari until last spring, videos no longer work in safari. work fine in chrome , firefox. upgraded latest video.js v4.12 , v5 has not helped. can view broken code on test page.
http://dev.investja.org/videojs_problem2.html
when open page , click on video works fine in chrome , firefox not safari.
any appreciated!
thanks
it doesn't play in regular html5 video element in safari: http://output.jsbin.com/rologupuko
the content-type header stating incorrect mime type. should video/mp4
. that's enough break playback in browsers, try fixing that.
curl -i http://dev.investja.org/virtual/download/10/mp4/ja_video http/1.1 200 ok date: fri, 02 oct 2015 09:42:56 gmt server: apache/2.2.29 (unix) x-powered-by: php/5.5.29 content-disposition: attachment; filename="ja isp lesson 03 video 03-720p.mp4" content-length: 42346342 cache-control: max-age=2592000, public expires: sun, 01 nov 2015 09:42:56 gmt x-ua-compatible: ie=edge,chrome=1 connection: close content-type: application/mp4
Comments
Post a Comment