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

Forums

/

How to load different playlists

10 replies [Last post]

Can anyone please post a step by step clear tutorial on how to load different playlists by clicking an image or a button or a link?

Thank you.

Thank you very much Robin. It looks like I got it to work now...:)

Although if I change the link to the swfobject file:
http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js
to my own
/jw/embed/swfobject.js
the player dissapears and I see the message:
Get the Adobe Flash Player to see this video.
I'd like to have all the files on my server and not depend on google because if they change something it might stop working. So I downloaded version 2.1 from google but in the zip file there are 2 different swfobject.js files, one in the main folder (size 10kb) and one in the subfolder src (size 23 kb). Which one should I use?...
It looks like both of them work. Any advise?...

Thanks

the smaller swfobject.js has been "minified" — use it

one of the key reasons for using swfobject.js from Google's CDN, is that your users will probably already have it in their browser's cache — thus saving the load time & a bit of traffic

the v2.1 swfobject from Google will never be changed — note the version number in the URI

I see. I'll use that, thank you.

There are 2 major problems still:

- I got that flickering of a smaller playlist problem (using version 4.4.174 of the player) - has that been fixed only after that version?...The reason I am using that version is the fitting to sides embeded youtube videos (after that they are resizing the youtube videos to a smaller size and I wanted them really be full screen without the black margins)
- The player doesn't show in ie6 (which I have for testing purposes) - can that be fixed?

Thank you so much,
Ben

what is the "flickering of a smaller playlist problem"? never heard that one before...

players always work in IE6 ...post code or a test link

Playlist flickers on loading a new playlist:
http://developer.longtailvideo.com/trac/ticket/433

About ie6 something strange happens: I have a laptop and a desktop and, in ie6, it plays OK on the laptop but it doesn't show on the desktop (plays ok in firefox on both).
Using player.swf and swfobject.js in the last package.

Code:

<script type="text/javascript" src="/jw/embed/swfobject.js"></script>

<div id="player">This text will be replaced</div>

<script type="text/javascript">
var so = new SWFObject('/jw/embed/player.swf','mpl','550','541','10');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&icons=false&file=/jw/playlist/list1.xml&skin=/jw/skin/snel.swf&logo=/images/logo_player.png&backcolor=333333&frontcolor=FFFFFF&playlistsize=200&playlist=bottom&repeat=always');
so.write('player');
</script>

the playlist flickering on reload only seemed to happen when the new playlist didn't have enough tracks to fill the allocated playlist display area and only with some early v4.4.x releases. i don't see it with the latest v4.4.202 release.

for your IE6 issue, the Adobe Flash Player for IE on the desktop is probably corrupted. use Adobe's uninstaller to uninstall it, reboot, then install a new Adobe Flash Player. note that IE uses a different Adobe Flash Player than all of the other browsers, so FF, etc., can work OK while IE doesn't.

Robin thanks - you're right - I installed the latest Adobe Flash Player for ie and now it looks ok.

As for the flickering it still happens even with the latest version, except now it happens if you load a list while there is no video playing (with previous versions is happening if you load a list while a video is playing from another list), but it's true it happens only if there aren't enough tracks to fill the set area.

Now...on a different topic - it looks like no one knows an answer to this:

Do you know of a way to completely hide the control bar in full screen mode?

There are others asking for this and no one has an answer.
If you hide the control bar with a flash var it still shows up in full screen.
The annoying thing is that if you have a playlist and you are in full screen, the control bar keeps showing after each track...

hopefully, the Longtail devs will fix the flickering.

it's really up to them to fix the controlbar display behavior — if they agree that the controlbar shouldn't show between videos in fullscreen.

...sorry, I don't do Flash, so I can't help on these issues.

Hi Ben,

I am having the same issue as yours... if I download the swfobject.js file from Google and try to run from my web server, it does not play....

Is it working for you?