Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

creating a playlist?

4 replies [Last post]

I am trying to create a playlist with a small playlist menu to string together three videos on my website, http://www.bluebassoon.net

Below is what I currently have.

<script type="text/javascript">
var s1 = new SWFObject('/video/player.swf','mpl','500','319','9');
s1.addParam('allowscriptaccess','always');
s1.addParam('allowfullscreen','true');
s1.addParam('flashvars','&author=Alaric S. Rocha&file=http://www.bluebassoon.net/video/showreel_all.flv&image=http://bluebassoon.net/images/showreel.jpg&s...');
s1.write('player1');
</script>

using the setup wizard it tells me to use this line:

s1.addVariable('playlist','bottom');

but I don't know how to create the playlist in the first place. Also when i add that line of command the playlist menu doesn't show up. i have been able to get it to show up if I add

playlist=right&playlistsize=50
to the flashvars line.

I don't want to go through youtube and have their logo on my video.

any help in getting the playlist to appear and create my playlist would be awesome. OR is there a way to just create chapter markers?

thanks

hello,

add this:

s1.addParam('flashvars','&author=Alaric S. Rocha&file=http://www.bluebassoon.net/video/showreel_all.flvℑ=http://bluebassoon.net/images/showreel.jpg&skin=/video/snel.swf&autostart=false&fullscreen=true&mute=false&file=<strong>nameofyouplaylist.xml</strong>&playlist=right&playlistsize=100');

for xml you have many solution...

here simple example: (dowload SVN and find in testing folder) or go to wizard page to configure your player.

<rss version="2.0"
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:jwplayer="http://developer.longtailvideo.com/trac/wiki/FlashFormats">
<channel>
<title>Example iTunes RSS playlist</title>

<item>
<title>FLV Video</title>
<link>http://www.bigbuckbunny.org/</link>
<description>Big Buck Bunny is a short animated film by the Blender Institute, part of the Blender Foundation.</description>
<enclosure url="../../testing/files/bunny.flv" type="video/x-flv" length="1192846" />
<itunes:author>the Peach Open Movie Project</itunes:author>
</item>

<item>
<title>MP3 Audio with image</title>
<link>http://www.bigbuckbunny.org/</link>
<description>Big Buck Bunny is a short animated film by the Blender Institute, part of the Blender Foundation.</description>
<enclosure url="files/bunny.mp3" type="audio/mpeg" length="1192846" />
<itunes:author>the Peach Open Movie Project</itunes:author>
<jwplayer:image>files/bunny.jpg</jwplayer:image>
</item>

<item>
<title>PNG Image with duration</title>
<description>Big Buck Bunny is a short animated film by the Blender Institute, part of the Blender Foundation.</description>
<enclosure url="files/bunny.png" type="image/png" length="1192846" />
<itunes:author>the Peach Open Movie Project</itunes:author>
<itunes:duration>00:10</itunes:duration>
</item>

<item>
<title>Youtube video with start</title>
<link>http://www.bigbuckbunny.org/</link>
<description>Big Buck Bunny is a short animated film by the Blender Institute, part of the Blender Foundation.</description>
<enclosure url="http://youtube.com/watch?v=IBTE-RoMsvw" type="text/html" length="1192846" />
<itunes:author>the Peach Open Movie Project</itunes:author>
<jwplayer:start>10</jwplayer:start>
</item>

</channel>
</rss>

This is great thank you so much! Check it out: http://www.bluebassoon.net/index2.html

I have two more questions.

1. Can I have a still image in the Flv player window that is not in the playlist? Currently I have a still image that lasts 2sec in the beginning of the playlist. that image is the image I want up before people press play.

2. How do I make the next video start playing automatically?

This is what I currently have:

<script type="text/javascript">
var s1 = new SWFObject('/video/player.swf','mpl','500','400','9');
s1.addParam('allowscriptaccess','always');
s1.addParam('allowfullscreen','true');
s1.addParam('flashvars','&author=Alaric S. Rocha&file=http://www.bluebassoon.net/video/showreel_all.flvℑ=http://bluebassoon.net/images/showreel.jpg&skin=/video/snel.swf&autostart=false&fullscreen=true&mute...');
s1.write('player1');
</script>

and

<rss version="2.0"
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:jwplayer="http://developer.longtailvideo.com/trac/wiki/FlashFormats">
<channel>
<title>Alaric S. Rocha Show Reels 2009 Playlist</title>

<item>
<title>Alaric S. Rocha Show Reels 2009</title>
<enclosure url="http://www.bluebassoon.net/images/showreel.jpg" type="image/jpg"/>
<jwplayer:image>http://www.bluebassoon.net/images/showreel.jpg</jwplayer:image>
<itunes:duration>00:02</itunes:duration>
</item>

<item>
<title>Director of Photography Show Reel 2009</title>
<enclosure url="http://www.bluebassoon.net/video/showreel_DP_large.flv" type="video/x-flv" length="2:30" />
<jwplayer:image>http://www.bluebassoon.net/images/hellcat.jpg</jwplayer:image>
<itunes:author>Alaric S. Rocha</itunes:author>
<itunes:duration>02:30</itunes:duration>
</item>

<item>
<title>Editor Show Reel 2009</title>
<enclosure url="http://www.bluebassoon.net/video/showreel_editor2_large.flv" type="video/x-flv" length="2:53" />
<jwplayer:image>http://www.bluebassoon.net/images/beautiful.jpg</jwplayer:image>
<itunes:author>Alaric S. Rocha</itunes:author>
<itunes:duration>02:53</itunes:duration>
</item>

<item>
<title>Corporate Show Reel 2009</title>
<enclosure url="http://www.bluebassoon.net/video/showreel_corporate.flv" type="video/x-flv" length="2:41" />
<itunes:author>Alaric S. Rocha</itunes:author>
<itunes:duration>02:41</itunes:duration>
</item>

</channel>
</rss>

2)

<script type="text/javascript">
var s1 = new SWFObject('/video/player.swf','mpl','500','400','9');
s1.addParam('allowscriptaccess','always');
s1.addParam('allowfullscreen','true');
s1.addParam('flashvars','&author=Alaric S. Rocha&file=http://www.bluebassoon.net/video/showreel_all.flvℑ=http://bluebassoon.net/images/showreel.jpg&skin=/video/snel.swf&autostart=false&fullscreen=true&mute=false&file=showreels.xml&playlist=bottom&playlistsize=75<strong>&repeat=list</strong>');
s1.write('player1');
</script>

thanks!

check it out...http://www.bluebassoon.net