If you don't find an answer, please click here to post your question.

Discovery does not work with "Chromeless" Layout Options

0 Kudos
Started ‎03-13-2013 by
Modified ‎10-07-2013 by

Discovery does not work with "Chromeless" Layout Options

by Community Manager ‎03-13-2013 08:58 AM - edited ‎10-07-2013 11:06 AM (1,002 Views)

ID: TS-00140

 

If you want the Discovery-UI to work you will need to remove the 'chromeless' layout options.


ERROR MESSAGE


TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at DiscoveryEndScreenModule/layoutControls()
    at DiscoveryEndScreenModule/createUI()
    at DiscoveryEndScreenModule/register()
    at com.ooyala.player.open.helper::BaseModule/onRegister()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.ooyala.player.module.third_party::ThirdPartyModule/register()
    at com.ooyala.player.layout::ModuleInfo/registerContent()
    at com.ooyala.player.module::ModuleManager/registerSingleContent()
    at com.ooyala.player.module::ModuleManager/registerContent()
    at com.ooyala.player.module::ModuleManager/scheduleRegistration()
    at com.ooyala.player.module::ModuleManager/scheduleOrQueueRegistration()
    at com.ooyala.player.module::ModuleManager/onContentLoaded()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.ooyala.player.layout::ModuleInfo/onLoaded()
    at com.ooyala.player.layout::ModuleInfo/onModuleLoaded()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.ooyala.player.module.load::ModuleLoaderController/onLoadComplete()
    at com.ooyala.player.event::LoggingEventDispatcher/runEventHandlerAndLogErrors()
    at com.ooyala.player.event::LoggingEventDispatcher/dispatch()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.ooyala.player.event::LoggingEventDispatcher/dispatchEvent()
    at com.ooyala.player.module.load::ThirdPartyModuleLoader/onComplete()

CAUSE


This is a related issue to how Discovery UI is currently implemented (as OPF instead of internal module). If the customer script has "chromeless:true" and "layout:chromeless" in its configuration which means the controls module is null causing the discovery ui to fail out.


WORKAROUND
Remove the 'chromeless' layout options. If you do not want Discovery UI, then that can be configured on a per player level.