Ticket #447 (closed defect: fixed)
delayed startup without loadOnDemand with Flowplayer 3.2.10 looks broken
| 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
delayed startup without loadOnDemand with Flowplayer 3.2.10 looks broken
See this forum post:
Change History
comment:2 Changed 12 months ago by paul
- Status changed from new to closed
- Resolution set to fixed
Fixed in 1.1 RC1 Build 7.
The issue is that Flowplayer 3.2.8 (up to 3.2.11 as of the time of this QA cycle) requires that the player is completely stopped before a new (ad scheduled) playlist is loaded into the player. Failing to stop() the player results in the incorrect playback of the newly loaded first clip (only the first 3 seconds play).
The following code change was made to the OVA for Flowplayer OpenAdStreamer.as class:
protected function loadClipsIntoPlayer(playlist:Array):void {
....
if(getPlayerVersion() >= 328 && _vastController.delayAdRequestUntilPlay()) {
_player.stop();
}
....
}

Yes, while the ad call is delayed the loaded ad does not seem to play correctly. It plays for a few seconds then ends and moves onto the next item in the playlist.