flowplayer video not playing in tablet

1.9k views Asked by At

I am using flowplayer for video's playing in my application.

Everything is working fine with flowplayer video in all major browsers but the problem comes when i am running it in tablet ,it is always loading,no video get started (not playing) .

Can anyone tell me what is the problem ,

the code i am using is

var video = "http://stream.flowplayer.org/white/470x250.webm",api; 
            $("#id").flowplayer
            ({
                splash: true,
                playlist: [
                             [
                                {mp4: video},{webm: video},{ogg: video}
                             ]
                          ]
            }); 
         api = $("#id").data("flowplayer"); 
         api.play(0);

Is there anything i need to add to play the video in samsung tablet.

I will be very thankful for your help.

Thankyou.

2

There are 2 answers

0
Colin Bacon On

Check which browser you are using and the version to see if it supports WebM. If not you will need to add an MP4 video as well.

Can I use WebM

0
user3197775 On

Most tablets and phones can play MP4s also. They just need to be encoded using a lower compression. I.e. If you use level 3.0 when encoding, that's usually playable.

Also, is your video inside a password protected area? If it is, include the username and password into the video URL. Like this; http://user:[email protected]/members/video.mp4