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
Wikitude SDK (Android, iOS, UWP)
Wikitude SDK Questions or Problems
Open Link in Browser (solved)
J
Joerg.westarp
started a topic
over 7 years ago
Open Link in Browser (solved)
3 Comments
Oldest First
Popular
Newest First
Sorted by
Oldest First
A
Andreas Fötschl
said
over 7 years ago
Please use AR.context.openInBrowser for that purpouse (
compare documentation
).
Best regards
J
Joerg.westarp
said
over 7 years ago
hey, thanks!
I read the docs.. but i don't get it. I am not so familiar with the JS-Syntax.
Is there an example somewhere?
EDIT: Ok, its simpler than i thought :)
AR.context.openInBrowser("
https://www.youtube.com/watch?v=xyz"
);
J
Joerg.westarp
said
over 7 years ago
Hey!
I posted about my problems on testing a world with a slideshow and video. Now i have to finish the world in any way..
So i would like to link to youtube and a website. But youtube always opens in the wikitude browser. When i go back the world is closed.
How can i open a link in the browser/youtube-app?
onClick : function( drawable, model_part ) {
switch(model_part)
{
case 'Video':
window.location = "
https://www.youtube.com/watch?v=_U_n7HMLsp0
";
break;
}
}
Login
or
Signup
to post a comment
More topics in
Wikitude SDK Questions or Problems
Instatiation of WTArchitectView compile errors
Point of interest - native iOS
Slider
Camera lagging / slow in native Swift application
Create a web service
N-th ImageDrawable not displayed
Radar Example
stop defaultlocationmanager and use architectview.injectlocation ios 10
WTC Size Limit
AngularJS and wikitude
See all 3870 topics
© 2021 Wikitude, a Qualcomm company
Joerg.westarp