Jwplayer does not play video on some phones, error code 4

I get one of the android phone errors from jwplayer:

Media playback error:

MediaError {code 4}

Tried to look for what it means, but can't find.

Video works on other Android devices and desktop computers. Tried chrome and default browser in android.

Update

http://jsfiddle.net/HCH8Q/3/

 jwplayer('myElement').setup({ 
        file: 'http://video.oitlabs.com/dogs6_2mb/mr6d_1047.mp4', 

        // works
        // file: 'http://videos-jp.jwpsrv.com/zWLy8Jer/videos/i8oQD9zd-1753142.mp4?77c801d752d5207784c49e7ed80fb953798fae0fcca03ecf79558597ab74bd0b969af6ee1babdc6fac893174bba3c1bbb98ef7c2e4c6b3c59a812b4ed2c9abb29c61117869dbacbbb7caced845a8994ff297cc03a4',
        height: 360, 
        image: '/uploads/example.jpg',
        width: 640 
      });

So the video from my site works, but my video doesn’t. But when I run this video not in the jw player, but directly in the address bar of its url, it plays. In this way, the browser can play the video.

This happens through the phone LG L7 P710

Update:

jw, . http://jsfiddle.net/HCH8Q/5/ . - ? Handbrake , , , , , mp4?

Update: , : http://www.broken-links.com/2010/07/30/encoding-video-for-android/

-, Handbrake. , iPhone iPod Touch, " -" " " ( "" ) ~ 1000 / ( Android). - 480 ( ), . ( ).

, , , , , kbps , . , , , . .

- , , , - , , - . - Freemake Video - , 2 , , . http://www.freemake.com/free_video_converter/

+4
1

MediaError {code 4} JW Player.

, , . , , .

+2

Source: https://habr.com/ru/post/1547542/


All Articles