Wikitude
play_for_work
Forum
FAQ
Documentation
Download
wikitude.com
How can we help you today?
Enter your search term here...
Search
Start a new topic
Discussions
Cordova, Titanium, Unity, Xamarin
Cordova Questions or Problems
unknown error loading AR.VideoDrawable via https
P
Pascal.wasem
started a topic
about 7 years ago
unknown error loading AR.VideoDrawable via https
2 Comments
Oldest First
Popular
Newest First
Sorted by
Newest First
A
Andreas Schacherbauer
said
almost 7 years ago
Hi Pascal,
For iOS: Did you try to set `NSAllowsArbitraryLoads` to YES in you application .plist?
I'm not a http/url request expert, but is it ok if you provide the auth token as url param?
Best regards,
Andreas
P
Pascal.wasem
said
about 7 years ago
Hi there,
I am trying to create an AR.VideoDrawable for an video loaded via https using wikitude-cordova-plugin-5.1.4-3.2.1
var videoUri = '
https://secure-server.com/some/path/video.mp4?token=some.auth.token
'
var videoHeight = 1;
var videoOptions = {};
...
videoOptions.onError = function(msg) {
console.error(msg);
}
videoDrawable = new AR.VideoDrawable(videoUri, videoHeight, videoOptions);
When trying to load the video I get the following error message on android
Error while loading the video. (Media player - unknown error )
on iOS nothing happens!?
Loading the same video via http works perfectly!!!
But it has to be done via https unfortunately.
Is there a known issue or any solution?
Am I missing something?
Thank you in advance!
Bests,
Pascal
Login
or
Signup
to post a comment
More topics in
Cordova Questions or Problems
Show POI only on Radar, not on camera
Capture Screen
Phonegap + SenchaTouch or other frameworks
PhoneGap App Issues
iOS App Compilation Error
JSon data WikitudeSDK + PhoneGap
onExit() , Avoid to close the AR on "BackButton" - Wikitude - PhoneGap
HTMLDrawable in Phonegap Plugin
Video not playing (wikitude sdk 1.1.1 + phonegap)
Bug when using PhoneGap and opening AR view multiple times
See all 577 topics
© 2021 Wikitude, a Qualcomm company
Pascal.wasem