You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Javascript playlist won Created Sep 2, 2009

This thread is solved

Views: 1814     Replies: 2     Last reply Feb 27, 2010  
You must login first before you can use this feature

kendall

Posts: 1

Registered:
Sep 2, 2009

Javascript playlist won

Posted: Sep 2, 2009

When I make a playlist with a single entry the playlist won't display the title, subtitle, or time. It just displays${title} and ${time}. In instances where there are multiple videos in the playlist everything displays properly. It must be a bug in the playlist that it displays improperly when there is only a single entry. The video still loads okay, but the playlist button doesn't display the actual title & time of the video. It just displays ${title} and ${time}.

I'm using the flowplayer for dozens of videos broken up into smaller playlists. Some of the playlists only have 1 video in them, so it is a big problem for me if it can't display a playlist of 1 properly.

Thanks!

// wait for the DOM to load using jQuery
$(function() {

// setup player normally
$f("player1", http://www.fundinguniverse.com/includes/flowplayer-3.1.2.swf", {

// clip properties common to all playlist entries
clip: {
baseUrl: 'http://www.fundinguniverse.com/file-upload/test/',
subTitle: 'from blib.tv video sharing site',
time: 'about 2 min'
},

// our playlist
playlist: [
{
url: '1-1.flv',
title: 'Personal Credit Basics',
time: 'time: 2:54'
}
],

// show playlist buttons in controlbar
plugins: {
controls: {
playlist: true
}
}
});

/*
here comes the magic plugin. It uses first div.clips element as the
root for as playlist entries. loop parameter makes clips play
from the beginning to the end.
*/
$f("player1").playlist("div.clips:first", {loop:true});

});

becca

Posts: 6

Registered:
May 28, 2009

also having trouble with single entry playlists

Posted: Feb 12, 2010

Reply to: Javascript playlist won, from kendall
I am having the same issue. If you have found a solution for this, I would be interested to hear about it.

EnsconcE

Posts: 5

Registered:
Feb 27, 2010

» Javascript playlist won

Posted: Feb 27, 2010

Reply to: Javascript playlist won, from kendall
I had the same issue and was not able to resolve it with the playlist plugin. Because of that i now use this one:
http://www.samutz.com/blargh/articles/custom-playlist-controls-on-flowplayer-with-jquery/

It's more flexible.