>- see footer for list info -< Get any errors? Are you using Firefox and/or Firebug?
> -----Original Message----- > From: [email protected] [mailto:dev- > [email protected]] On Behalf Of Paul Swingewood > Sent: 08 July 2009 09:34 > To: [email protected] > Subject: [CF-Dev] OT - FlowPlayer > > >- see footer for list info -< > > On the off chance that anyone else is using flow player here I thought > i'd ask for help. > > > > Their forums and doc examples are awful. Im no JS coder and this stuff > really leaves me blank. > > > > I can get the player to work in its simple mode but beyond that it just > sits there doing nothing. > > > > Working stuff .... > > > > <script type="text/javascript" src="vidplayer2/flowplayer- > 3.1.1.min.js"></script> > > > > <div style="width:425px;height:300px;" id="player"></div> > > <script language="JavaScript"> > flowplayer( > "player", > "vidplayer2/flowplayer-3.1.1.swf", > "http://helix.bgfl.org/cypf/brighterfutures/vid1.flv" > ); > </script> > > > > > This next example was taken from their docs but im buggered if i can > get it to work. > > > > <script> > flowplayer( > "player", > "vidplayer2/flowplayer-3.1.1.swf", > // supply the configuration > { > > clip : { > // Clip is an object, hence '{...}' > autoPlay: false, > autoBuffering: true > }, > > playList: [ > {url: 'vidplayer2/vid1.jpg'}, > {url: 'http://helix.bgfl.org/cypf/brighterfutures/vid1.flv'}, > {url: 'vidplayer2/vid1.jpg'} > ], > > plugins: { > // load one or more plugins > controls: { > // load the controls plugin > url: 'vidplayer2/flowplayer.controls-3.1.1.swf', > // always: where to find the Flash object > playlist: true, > // now the custom options of the Flash object > backgroundColor: '#aedaff', > tooltips: { > // this plugin object exposes a 'tooltips' object > buttons: true, > fullscreen: 'Hi Paul' > } > } > }, > > onFinish: function() { > // set an event handler in the configuration > alert("Click Player to start video again"); > } > } > ); > </script> > > > > > > http://services.bgfl.org/cfpages/brighterfutures/vidtest.cfm > > > > The main reason i want this is to be able to see when the video is > finished. So that I can re-enable the 'next' button on a form. In other > words force someone to watch the video. > > > > Regards - Paul _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
