Sep. 18, 2009Abenzka
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
Sep. 18, 2009lost
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","9.0.124");
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.
Sep. 24, 2009Abenzka
Thanks! Now Works Perfect!
Nov. 03, 2009i'm mad..
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..
Here are some helpful links to learn more about the JW Player™:
Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!
If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.