Question

I have a PhoneGap application I am developing for iPad that uses video extensively, all of which is hosted at Brightcove. The Brightcove player code works fine when testing as a WebApp, but once compiled with PhoneGap in Xcode, the page containing the player immediately jumps out of the app and opens Safari to display the player.

I have added the appropriate domains to the ExternalHosts array, such that I am not getting any build errors mentioning whitelist problems.

Any ideas how to keep that from happening? I just want the player to load up into the app view it is located in. thx

Here's the standard Brightcove player code embedded in the page:

    <script language="JavaScript" type="text/javascript" src="http://admin.brightcove.com/js/BrightcoveExperiences.js"></script>
<object id="myExperienceXXXXXXXXXXXXXXXXXXX" class="BrightcoveExperience">
  <param name="bgcolor" value="#FFFFFF" />
  <param name="width" value="480" />
  <param name="height" value="450" />
  <param name="playerID" value="1149493366001" />
  <param name="playerKey" value="XXXXXXXXXXXXXXXXXXXXXXXX" />
  <param name="isVid" value="true" />
  <param name="isUI" value="true" />
  <param name="dynamicStreaming" value="true" />

  <param name="@videoPlayer" value="XXXXXXXXXXXX" />
</object>
Was it helpful?

Solution

This issue was a confirmed bug and has been resolved in PhoneGap 1.2.0

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top