using an apostrophe in playlist title (with playlist plugin) causes flowplayer not to load
Posted: Nov 6, 2009
I was creating a playlist with the playlist plugin, and one of my songs had an apostrophe in the title... the playlist plugin apparently does not like this.
heres the template i'm using...
and heres the playlist from the flowplayer config...
(amongst other code and other playlist entries) causes the flowplayer element to show up all black (no player). Taking out the apostrophe makes everything run fine.
Oh, and another thing... the playlist plugin apparently doesn't work with only one playlist entry (still using templates in this case).
My guess is that it's a problem with the whole javascript templating thing you guys do.
heres the template i'm using...
<div class="derp">
<div><a href="${url}">${title}</a></div>
</div>
and heres the playlist from the flowplayer config...
playlist: [
{ title : "Ain't Nobody", url : 'aintnobody.mp3' },
...
]
(amongst other code and other playlist entries) causes the flowplayer element to show up all black (no player). Taking out the apostrophe makes everything run fine.
Oh, and another thing... the playlist plugin apparently doesn't work with only one playlist entry (still using templates in this case).
My guess is that it's a problem with the whole javascript templating thing you guys do.