You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

repeat x times playslist rss Created Oct 25, 2009

This thread is solved

Views: 2372     Replies: 2     Last reply Oct 26, 2009  
You must login first before you can use this feature

streamingvideo.pro
French multimedia developper

Posts: 60

Registered:
Dec 18, 2008

repeat x times playslist rss

Posted: Oct 25, 2009

Hello,

my playlist with rss is ok but i want repeat it x times ...


$(function() {
	$f("player2", "src/flowplayer.commercial-3.1.2.swf", {
		clip: {baseUrl: 'http://xxxxxxxxxxx',
		connectionProvider: 'a',  
		provider: 'b'},
		playlist: 'playlist.rss'
	plugins: {
			a: {  url: 'src/flowplayer.smil-3.1.2.swf' } ,
			b: {  url: 'src/flowplayer.rtmp-3.1.1.swf' },
		controls: {
			autoHide: 'always'
		}
	}
}).playlist({loop:true, });

my rss:

<rss version="2.0" xmlns:media=http://search.yahoo.com/mrss/">   <channel>
    <title>Example media RSS playlist</title>
    <link>http://www.flowplayer.org</link>
    <item>
      <title>Happy Feet</title>
      <description>A custom property for a clip</description>
      <media:credit role="author">Kim Aronson</media:credit>
      <media:content url="Clip-WITV.mp4.smil" type="video/x-flv" ></media>
    </item>
    <item>
      <title>Beach and palms</title>
      <description>test</description>
      <media:credit role="author">Kim Aronson</media:credit>
      <media:content url="02-BA-spectacle-ATQS.mp4.smil" type="video/x-flv" ></media>
    </item>
  </channel>

An idea ?

Thanks

streamingvideo.pro
French multimedia developper

Posts: 60

Registered:
Dec 18, 2008

» repeat x times playslist rss

Posted: Oct 26, 2009

Reply to: repeat x times playslist rss, from pascalmagat
not an idea ?

Thanks

streamingvideo.pro
French multimedia developper

Posts: 60

Registered:
Dec 18, 2008

» » repeat x times playslist rss

Posted: Oct 26, 2009

Reply to: » repeat x times playslist rss, from pascalmagat
i founded a solution:

  onBeforeFinish: function(clip) { 
   var posi = clip["media:position"];
   var posit = posi.pos;
   if(posit == 1){
     return false;  
   }
and last item

...
   <media:position pos="1"/>
...