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

Forums

/

Playlist Height

12 replies [Last post]

Is there a way so that when the playlist is positioned to the right that the controls are only under the player not under the playlist too?

Nope?

Nope indeed, placing the list on the right will extent the controlbar for now. We'll take a look at making this more flexible.

Is it possible to have 2 players working together, one displaying the video content - the other showing the playlist only?
This will allow the playlist to be positioned anywhere the user likes?

Examples anyone?

(<blush>i'm not a javascript programmer.</blush>)

@The Shopkeeper - please see the - http://www.jeroenwijering.com/?item=Javascript_API_Examples
and the list of copy/paste examples - http://home5.inet.tele.dk/nyboe/flash/mediaplayer4/
such as - http://home5.inet.tele.dk/nyboe/flash/mediaplayer4/custom_playlist.html

please note though that the above all use the swfobject v.2.1 - you can get it here - http://code.google.com/p/swfobject/

Thanks for the examples Anderson. I had already seen these and deciced the custom html playlist isn't what I wanted.
It promises much - but just fails at the last.

The Player can be set to auto play and the playlist highlight works as each item is played, but the scrolling on the playlist is lost. On long playlists, you can loose the focus of the currently played item as scolling isn't maintained. Is this ther an option to autoscoll on the html playlist?

The obvious solution would be to use the functionality of the playlist through the player, and then target an second player to play the playlist items...

I'll have another look at the examples, but I couldn't see a solution.

@The Shopkeeper - autoscroll or at least bringing the currently playing item in view is on the todo list for the custom playlists
hopefully i can manage that "soon" (but i will have to do quite some experimenting, so it wont be just today or tomorrow)

it is possible to use the javascript api to make one player control another -
heres an example using the good old v.3.x player - http://home5.inet.tele.dk/nyboe/flash/mediaplayer/controller.htm
the general method would be the same for the v.4.x player - monitoring the state of the playlist-player (which should be muted and have hidden display) and sending item-numbers or filenames and play-commands to the other player, that would then have the playlist hidden or only play the current item of the playlist-player...

the v.4.x player does not support autoscroll though - but the javascript api is definitely better and it plays more video formats

"(which should be muted and have hidden display) "
Erm - To make a hidden display - do you set the height/width to zero or is there a flashvar or param for display:"none" ?

from - http://code.jeroenwijering.com/trac/wiki/FlashVars

height (400): height of the display (not the entire player!) in pixels.
playlist (none): position of the playlist. Can be set to bottom, over, right or none.
playlistsize (180): size of the playlist. When below or above, this refers to the height, when right, this refers to the width of the playlist.

My test seem to indicate that both incidences of the players remain independant. i.e. They continue to play their own playlist items, though it's the same playlist.

Performance is reduced as the browser is (possibly) playing the FLV is each player - though you can't see the video in the playlist only version.

My example is here: http://www.hertsweb.tv/v2/

Cameron: Do chip in - this addresses your original posting as you'll see.

I can copy and paste examples forever - but it needs a programmers hand...

well, you are halfway there - but ofcourse it is the difficult part that remains...

and there are indeed still several problems to be solved in this setup (i havent tried this since the old demo !)
but maybe the v.4.x player has gotten to complicated for this setup to be practical - the script is going to be too convoluted - and will probably always give a sloppy impression.

first of all both players should obviously not autostart -
second problem is that both players call the same listeners - so one has to check which player is calling.
third is to prevent the performance degration, which would then require the playlist player to be stopped as soon as the other has been told what to play.

but, i get a bad feeling on this one, im afraid there will be too many small problems sending messages to and fro the players
for instance if someone advances the visible player to next item - then the playlist player need to know too, etc etc...

im sorry, i should have known better than making you walk out that limb - apologies !

ok, i have now updated the - http://home5.inet.tele.dk/nyboe/flash/mediaplayer4/custom_playlist_advanced.html
but, please note that the added automatic scrolling of the current item into focus only is tested on win xp IE7 - FF3 - O9

as so often it is not possible to fullfil all functionality at once - it is ofcourse nice that the current item is scrolled in to view -
but is is at the occasional expence of a slight annoyance, when the item changes just as one is looking at the other end of the playlist and it then suddenly changes - but i still think it is better this way, than not seeing which item is playing...

That sounds great.
I love you Andersen.