I am using the inappbrowser plugin for my cordota 3.4.0 iOS project. I am trying to show a toolbar so that the user can return to the application. But the toolbar is not displayed.
My code
window.open("http://www.youtube.com/embed/OFFXHbjVZ7A?html5=1",'_blank','location=no,closebuttoncaption=Done,toolbar=yes,toolbarposition=top');
I tried but no luck
var ref = window.open('http://www.youtube.com/embed/OFFXHbjVZ7A?html5=1', '_blank', 'location=yes');
ref.addEventListener('loadstart', function() { alert(event.url); });
log
2014-03-31 16:04:35.549 Survey[3202:60b] Multi-tasking -> Device: YES, App: YES
2014-03-31 16:04:35.617 Survey[3202:60b] Unlimited access to network resources
2014-03-31 16:04:37.562 Survey[3202:60b] Resetting plugins due to page load.
2014-03-31 16:04:38.557 Survey[3202:60b] Finished load of: file:
2014-03-31 16:04:41.698 Survey[3202:60b] Resetting plugins due to page load.
2014-03-31 16:04:53.948 Survey[3202:60b] Finished load of: http:
It is showing video but no back button
Basically I need to return to the application.
Any suggestion is much appreciated.
Thanks in advance
source
share