Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Streaming Doesn't Work on Mac

3 replies [Last post]

I use this code for playing my video with flv player 4.5:

var s1 = new SWFObject("/mediaplayer/player.swf","Backstage","480","380","9");
s1.addParam("allowfullscreen","false");
s1.addParam("allowscriptaccess","always");
s1.addParam("wmode","transparent");
s1.addVariable("streamer","my streaming server");
s1.addVariable("type","rtmp");
s1.addVariable("file","myfile.mp4");
s1.addVariable("autostart","true");
s1.addVariable("repeat","none");
s1.addVariable("bufferlength","1");
s1.write("video-backstage");

it works perfect on windows with all browsers and doesn't work on any browser on macos. the player is loaded but i cannot play the video.
if i disable streaming and play a single file it works perfect!
someone has the same problem?
thanks

 
Try removing type=rtmp, it shouldn't be needed and may be preventing your code from working.

For RTMP, it's best to let the player determine the bufferlength, so you should also remove bufferlength=1.

The JW FLV Player requires later versions of Flash 9, so it's best to require Flash 9,0,124,0.var s1 = new SWFObject("/mediaplayer/player.swf","Backstage","480","380",<strong>"9.0.124"</strong>);

Do you really require wmode=transparent?

The JW FLV Player isn't transparent, so it will have no effect. Furthermore, the Adobe Flash Player in wmode=transparent is buggy. If you are trying to display HTML content over the player, wmode=opaque is sufficient.

Thanks! Now Works Perfect!

Thanks so much to see this information here. I have been trying to find the solution....

Unfortunately, the solution seems not working in my old iBook G4 FF 2.x browser.

Audio is loaded faster than video for my mp4 for all different size of the files.

Hope someone can give further advice/insight on how to make it work for older MAC.

Will that be the format I convert to is not correct etc.? I converted the video from mts-1920x1080-25fps to H.264 - 640x480-29.97fps-AAC (as it looks smoother in Window if I selected 29.97fps for the export...)

Thanks..