canusx / open-video-ads

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

Load issues with Flowplayer OAS on Ant Build #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
An Ant built version of the Flowplayer OAS has issues as the Controls SWF is 
not merged in the 
link process with the Ant build (but it is with the Flex Builder build).

This results in the OAS failing to load if the Controls aren't loaded before 
the OAS.

One way to work around this is to not directly reference the Controls plugin 
(and hence not 
required the SWC):

var model:DisplayPluginModel = 
_player.pluginRegistry.getPlugin(_config.captionTarget) as 
DisplayPluginModel;
var controls:DisplayObject = model.getDisplayObject();

// disable scrubber
controls["enable"]({ scrubber: false });

Make this code change.

Original issue reported on code.google.com by paul.sch...@gmail.com on 9 Oct 2009 at 9:47

GoogleCodeExporter commented 9 years ago
Fixed - controls code now completely removed from codebase and weak references 
used in the OAS to access 
the control bar

Original comment by paul.sch...@gmail.com on 31 Oct 2009 at 5:24