I'm dynamically creating playlists for XSPF player, but I'm unable to get a default image to display when the player initially loads. Autoload is set to true, and autoplay is set to false. Here's what a sample playlist looks like:
Notice that in this test, I'm using the same image for botth default and track image. When the player initially loads, no image is displayed. But if I select the track, the image does load as expected.
Am I using the wrong element name for the default image? Thanks!
jp
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Still trying to figure out this default image problem for XSPF player. Am I wrong in thinking that a playlist can have a default image associated with it? And that that image would be specified in the playlist as:
I was able to accomplish this by editing the .FLA file in Flash, just dropping an image in the placeholder space, and republishing the swf file. You will also need the .as file that come in the download and the silkscreen font (http://www.kottke.org/plus/type/silkscreen/)however to do this (as well as having Flash installed on your computer of course).
Kent
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm dynamically creating playlists for XSPF player, but I'm unable to get a default image to display when the player initially loads. Autoload is set to true, and autoplay is set to false. Here's what a sample playlist looks like:
<?xml version="1.0" encoding="UTF-8" ?>
<playlist version="0" xmlns="http://xspf.org/ns/0/">
<title>Test</title>
<image>/images/defaultcoverart.jpg</image>
<trackList>
<track>
<location>/uploadedFiles/Podcasting/Age/Forever.mp3?n=4451</location>
<title>Test mp3</title>
<creator>Jerry Podhajsky</creator>
<image>/images/defaultcoverart.jpg</image>
</track>
</trackList>
</playlist>
Notice that in this test, I'm using the same image for botth default and track image. When the player initially loads, no image is displayed. But if I select the track, the image does load as expected.
Am I using the wrong element name for the default image? Thanks!
jp
Still trying to figure out this default image problem for XSPF player. Am I wrong in thinking that a playlist can have a default image associated with it? And that that image would be specified in the playlist as:
<?xml version="1.0" encoding="UTF-8" ?>
<playlist version="0" xmlns="http://xspf.org/ns/0/">
<title>Test</title>
<image>/images/defaultcoverart.jpg</image>
<trackList>
<track>
<location>/uploadedFiles/Podcasting/Age/Forever.mp3?n=4451</location>
<title>Test mp3</title>
<creator>Joe Blow</creator>
<image>/images/defaultcoverart.jpg</image>
</track>
</trackList>
</playlist>
Thanks in advance for any assistance.
jp
I was able to accomplish this by editing the .FLA file in Flash, just dropping an image in the placeholder space, and republishing the swf file. You will also need the .as file that come in the download and the silkscreen font (http://www.kottke.org/plus/type/silkscreen/)however to do this (as well as having Flash installed on your computer of course).
Kent