Ticket #306 (new defect)

Opened 2 years ago

Last modified 21 months ago

onStart function not working on Flowplayer clips with OVA

Reported by: paul Owned by: paul
Priority: blocker Milestone: OVA for Flowplayer (v1.0.1)
Component: OVA for Flowplayer Version: OVA for Flowplayer (trunk)
Keywords: Cc:
Forum thread:

Description

When OVA is configured, the onStart() javascript methods on a clip no longer work.

Raised by Patrice.

Change History

comment:1 Changed 2 years ago by paul

True.. this seems to be because OVA creates a new playlist and the javascript settings aren't carried through to the show clips in the new playlist. Need to find out how to carry them through.

In the meantime, there is a work-around with an approach like:

<script>
flowplayer(your-usual-flowplayer-setup-here);
$f().onStart(function(clip) {

if(clip.ovaAd) {

alert("this is an ad");

}
else alert("this is a show clip and the URL is " + clip.url);

});
</script>

comment:2 Changed 21 months ago by paul

  • Milestone changed from OVA for Flowplayer (1.0) to OVA for Flowplayer (Development)
Note: See TracTickets for help on using tickets.