I have successfully added the yahoo media player to my website but now I am stuck on one minor customization due to my lack of java-script knowledge. I want to expand the playlist by default on page load... Here are the examples via: http://mediaplayer.yahoo.com/api
"API function to set the visual state of the playlist queue"
void setQueueViewState ( viewState )
viewState (number) A number representing the visual state of the playlist queue,0:minimized, 1: maximized
Returns true when setting the state is done successfully, false otherwise
How can I integrate that^ into the following example code below so that the queue is maximized when the page loads?
var YMPParams =
/* This will include the yahoo media player on the page */
var apiReadyHandler = function ()
/* Once API ready handler is invoked, YAHOO.MediaPlayer class can be accessed safely */
/* For example: Add other event listeners **/
var onPlaylistUpateHandler = function (playlistArray)
/* Handler for onPlaylistUpdate event */
alert(" playlist count = " + YAHOO.MediaPlayer.getPlaylistCount())
If anyone can help me out by showing me an example that would be great! I have been stuck on this for hours already
Thank you so much!