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

Forums

/

xml playlists & fla ... start, duration, end

10 replies [Last post]

Can I use start and durations (or end) with flv files? How about with youtube? Here is a xml playlist does not work for flv ... it starts at the right time if I use a youtube but does not stop. And start/duration/end all do not work for flv. ... Thanks

<?xml version='1.0' encoding='UTF-8'?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<title>Michelle at Mensa</title>
<tracklist>
<track>
<config>
<repeat>list</repeat>
<backcolor>333333</backcolor>
<volume>60</volume>
<controlbar>over</controlbar>
<displayclick>fullscreen</displayclick>
</config>
<title>Michelle at Mensa</title>
<creator>the Peach Open Movie Project</creator>
<info>http://www.myyogavideo.com/videos/michelle.flv</info>
<annotation>
Michelle at Mensa
</annotation>
<location>http://www.myyogavideo.com/videos/michelle.flv</location>
<meta rel="respectduration">true</meta>
<meta rel="start">5</meta>
<meta rel="duration">20</meta>
</track>
</tracklist>
</playlist>

Reference: http://developer.longtailvideo.com/trac/wiki/FlashVars

start only works if you have serverside support for seeking into a video file.

duration only works if you use the experimental flashvar respectduration [i]true/false[/i] in your player embedding code.

There is no end flashvar.

The XML file that you have posted is a mixup of a playlist file and a configuration file. They must be separate files.

Playlist files consist of File Properties. You can find the equivalent playlist elements for each supported playlist format here: http://developer.longtailvideo.com/trac/wiki/FlashFormats#Formatmapping

Configuration files consist of all of the supported flashvars, except config.

Reference: http://developer.longtailvideo.com/trac/wiki/FlashVars

When you use a playlist, ALL of the File Properties [i]MUST[/i] come from the playlist file.

Thanks, I fixed the playlist and duration works ... so maybe no server side support ...

Any idea why I also get this error from mozilla when jwplayer is in a popup frame:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at nl.vara.jwplayer.embed::EmbedPlugin/::resizeHandler()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.jeroenwijering.player::Controller/::redrawHandler()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.jeroenwijering.player::View/sendEvent()
at com.jeroenwijering.player::Player/com.jeroenwijering.player:Player::startPlayer()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.jeroenwijering.player::SPLoader/::pluginHandler()

What sort of player embedding code are you using?

It looks like you are not setting the name attribute of the HTML element.

Thanks so much for your help...

The webhosting company is not sure what type of server side support is needed fto specify start time in flv files using jwplayer. Do you know if I have to configure apache or something?

Thanks

oops, I asked another question before answering yours.

This is the embedding code:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<object height="320" width="400">
<param name="flashvars" value="respectduration=true&displayclick=true&controlbar=over&volume=80&backcolor=333333&autostart=true&repeat=list&file=http://www.myyogavideo.com/videos/pl_youtube_test.xml&plugins=embed-1&embed.code=&lt;embed&gt;...&lt;/embed&gt;" />
<param name="src" value="modules/mod_jwmedia/player.swf" /><embed height="320" width="400" src="modules/mod_jwmedia/player.swf" flashvars="respectduration=true&displayclick=true&controlbar=over&volume=80&backcolor=333333&autostart=true&repeat=list&file=http://www.myyogavideo.com/videos/pl_youtube_test.xml&plugins=embed-1&embed.code=&lt;embed&gt;...&lt;/embed&gt;"></embed>
</object>
</body>
</html>

I just found/fixed the null reference problem ... embed was in the flashvars

still need all the help I can get with the start time problem

thanks

I need something like this installed ...

http://h264.code-shop.com/trac/wiki

right ?

The serverside streaming support depends on the type of files that you want to stream, and the server OS and server software.

For FLV files and an Apache server, there are several streamscript files that use the PHP scripting language.

For H.264 in the MP4 container on an Apache server, you can use the code-shop module.

thanks, I started a new thread to try to get the HTTP style of streaming to work.

And my ISP is looking into installing an Apache plugin for H.264 or FLV

so you had to disable the embed-1 embed.code flashvar to get rid of that Error #1009? or was there a way to fix it? I just started getting it today since I reinstalled windows and flash player. I guess I have to live with it or kill embedding altogether