akakiz / open-video-ads

Automatically exported from code.google.com/p/open-video-ads
0 stars 0 forks source link

Restore the javascript API on the Flowplayer OAS #125

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Put the javascript API back into the Flowplayer OAS

Original issue reported on code.google.com by paul.sch...@gmail.com on 26 Oct 2009 at 7:29

GoogleCodeExporter commented 8 years ago
The most important thing probably is to change the shows property on the fly, 
similar to how flowplayer does it 
in this example code:

clip = {'url':somestreamingpath, 'autoplay':true};
$f("player").play(clip);

but before it plays the clip it will show the advertisement. So I guess what 
I'm thinking is that I don't have to 
reload the flow player every time if I want to have the ad functionality

Original comment by paul.sch...@gmail.com on 29 Oct 2009 at 8:41

GoogleCodeExporter commented 8 years ago
Moving to critical

Original comment by paul.sch...@gmail.com on 13 Nov 2009 at 9:22

GoogleCodeExporter commented 8 years ago
The following Ad Event callbacks (in Javascript have been added) - see the 
Javascript API doc for more info.

onLinearAdBegin()
onLinearAdFirstQuartileComplete()
onLinearAdMidPointComplete()
onLinearAdThirdQuartileComplete()
onLinearAdFinish()
onLinearAdClick()
onNonLinearAdShow()
onNonLinearAdClickThrough()
onNonLinearAdHide()
onCompanionAdShow()
onCompanionAdHide()
onAdNoticeShow()
onAdNoticeHide()
onRegionCloseClicked()
onRegionClicked()

Added to version 0.4.0 FP OAS and base framework.

Still working on the API to dynamically load new show clips

Original comment by paul.sch...@gmail.com on 29 Nov 2009 at 10:24

GoogleCodeExporter commented 8 years ago
Done.

Original comment by paul.sch...@gmail.com on 5 Aug 2010 at 5:32