Reply
Contributor
stevep124
Posts: 24
Registered: ‎12-03-2009
0 Kudos

UNknown AS3 Error - unable to Instantiate player theme

Hi there

 

I have recently found the attached error which appears on a few of the players that I have built 

It gives a null object reference  - on the 'PlayerInstance/Instantiate Player Theme

 

Is this something to do with a missing parameter?

I have the <param name="isUI" value ="true"> set

 

Am unsure what is causing this as it seems to be from within a Brightcove Class

 

I am using the javascript method to embed my player, please see below for sample embed code parameters

 

 

<object id="myExperience" class="BrightcoveExperience"> 
   <param name="bgcolor" value="#FFFFFF" /> 
   <param name="width" value="100%" /> 
   <param name="height" value="100%" /> 
   <param name="playerID" value="XXXXX" /> 
   <param name="publisherID" value="XXXXX"/> 
   <param name="isVid" value="true" /> 
   <param name="isUI" value="true" />
   <param name="dynamicStreaming" value="true" /> 
   <param name="wmode" value="transparent"/>
   <param name="@playlistTabs" value="87107280001,87957103001"/> 
 
   </object> 

 

 

 

Thanks

 

Steve

Administrator
BC-Robert
Posts: 237
Registered: ‎02-12-2010
0 Kudos

Re: UNknown AS3 Error - unable to Instantiate player theme

Not sure if this is it -- but is this player code that you originally published some time ago? If so, simply getting a new version of the code may solve this. The reason I say that is that we introduced a playerKey param a few months ago as a security measure, and I don't see that param in your code. So if you tinkered with the code recently without getting a new version that includes the player key, that might break it.

Brightcove Team
BC-Todd
Posts: 746
Registered: ‎12-21-2008
0 Kudos

Re: UNknown AS3 Error - unable to Instantiate player theme

The playerKey was a backwards-compatible addition, so that shouldn't cause an issue. Do you have a link to the player so that we can test against it?

--todd