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});
});
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});
});