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

Your preferred username that is used when logging in.

have a problem with playlist and cuepoint Created Jun 11, 2010

This thread is solved

Views: 1963     Replies: 4     Last reply Jun 16, 2010  
You must login first before you can use this feature

da_psycho

Posts: 7

Registered:
Apr 30, 2010

have a problem with playlist and cuepoint

Posted: Jun 11, 2010

i use alternate embedding methods with <param name="flashvars" value='config=config.js' />

how can i set a cuepoint in config.js? i tried:

'playlist': [
{
'url': 'http://www.blinkenfilme.de/svl/008/SVL_008.mp4',
'autoPlay': false,
'duration': 10,
'onCuepoint': [
[2000, -3000],
function(clip, point) {
this.getPlugin('content').setHtml(this.id() + ': ' + point);
}
]
}
]

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» have a problem with playlist and cuepoint

Posted: Jun 15, 2010

Reply to: have a problem with playlist and cuepoint, from da_psycho
Unfortunately this kind of configuration does not work. You need to use the standard installation with the flowplayer.js file in order to use events / cuepoints or the Flowplayer API.

da_psycho

Posts: 7

Registered:
Apr 30, 2010

» » have a problem with playlist and cuepoint

Posted: Jun 15, 2010

Reply to: » have a problem with playlist and cuepoint, from tipiirai
the problem is, that i want to use flowplayer for embed, like
<script type='text/javascript' src='http://www.mysite.com/vid/videoid/'></script>

so the other site get my player with the video and my config like
<object id='flowplayer' width='800' height='460' data='http://www.mysite.com/flowplayer/flowplayer-3.1.5.swf' type='application/x-shockwave-flash'>
<param name='flashvars' value='config=http://www.mysite.com/flowplayer/config.php?movie=videoid' />
<param name='movie' value='http://www.mysite.com/flowplayer/flowplayer-3.1.5.swf' />
<param name='allowfullscreen' value='true' />
</object>

so i want to set all what is required in the config

ps, doumentation is down:http://flowplayer.org/documentation/events/cuepoints.html

Christian Ebert
Flowplayer support

Posts: 2803

Registered:
May 27, 2008

» » » have a problem with playlist and cuepoint

Posted: Jun 15, 2010

Reply to: » » have a problem with playlist and cuepoint, from da_psycho
As Tero said, the embed configuration is restrained to "static" parameters, i.e. you can't use events (as events are done in JavaScript). And of course any configuration parameter that starts with on... is an event, like onCuepoint etc.

The alternate install docs mention this at very bottom of the page.

P.S. the cuepoints doc link seems to work again.

da_psycho

Posts: 7

Registered:
Apr 30, 2010

» » » » have a problem with playlist and cuepoint

Posted: Jun 16, 2010

Reply to: » » » have a problem with playlist and cuepoint, from blacktrash
ok that's bad

then i want to write a plugin, but if i try with ant etc, i get many errors. can i work with adobe flash CS4 too?

i tried and have added the flowplayer.swc in libary., but get an error with org.flowplayer in console.