// Start fullscreen playback of video at the supplied URL
AR.context.startVideoPlayer(url);
}
catch(e)
{
alert("Error loading the video: " + e.message);
}
I always get a "bad address" error.
it works fine with AR.context.openInBrowser(urlpage, true);
what am I doing wrong?
thank you.
M
Markus Eder
said
almost 11 years ago
Hello!
Could you provide me with more information about your project setup, especially are you deploying your phonegap app for Android or iOS and whether this problem exists when deploying for both platforms.
On the android platform a different component is used to display video. In order to use this component within you phonegap application, the following snippet needs to be integrated into your Android application manifest file:
As the XML-snippet i provided is part of our native SDK and not the Phonegap Build service, unfortunately it is currently not possible to achieve this using PhoneGap's Build service. We are currently thinking about a facilitated usage of this functionality in an upcoming version of our PhoneGap plugin.
Thx
S
Salvo Esposito
said
almost 11 years ago
hi Marcus,
I am implementing a project for iPhone... using XCode, + PhoneGap + WikiTude DSK 1.1.1
Salvo Esposito