[ https://issues.apache.org/jira/browse/CB-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158737#comment-13158737 ]
Shazron Abdullah commented on CB-40: ------------------------------------ comment by: https://github.com/amir-amirudin I can confirm this by using HTML Embed, iFrame and/or Object tag inside an app, a desired content will be opened in a new Safari Window instead of within the app. I did a test on PhoneGap 1.0 & 1.1 on both iOS 4 & 5 emulator and both behave the same. I also did a research and it is possible to use the said tags within UIWebView in a normal condition (without PhoneGap): : http://stackoverflow.com/questions/5167907/is-it-possible-to-use-iframe-in-uiwebview : http://stackoverflow.com/questions/7268185/youtube-embed-html-for-uiwebview-not-working-on-ios-4-2-iphone-3g : http://iphonedevelopertips.com/video/display-youtube-videos-without-exiting-your-application.html Please refer current tenderapp issue related to this: https://phonegap.tenderapp.com/discussions/problems/133-brightcove-vid-player-code-opens-in-safari-not-app-view https://phonegap.tenderapp.com/discussions/problems/135-android-video-playback-issue [suspicious] https://phonegap.tenderapp.com/discussions/problems/143-linking-to-google-maps [suspicious] https://phonegap.tenderapp.com/discussions/problems/137-advertisement-plugin-uiviewcontroller The following code can be used to repro the issue: http://pastebin.com/Y0Yr38bv Hope to hear feedback from you guys. Thanks > Displaying video youtube on app and not in safari > ------------------------------------------------- > > Key: CB-40 > URL: https://issues.apache.org/jira/browse/CB-40 > Project: Apache Callback > Issue Type: Bug > Components: iOS > Reporter: Shazron Abdullah > > reported at: https://github.com/phonegap/phonegap-iphone/issues/327 > by: https://github.com/GustavoCostaW > > Hey guys, I'm trying to view a video on youtube in my own application, except > that when I click it opens to display on safari, I do not want it open in > Safari, I tried several embed codes, as iframe, objects ... someone could > help me how to display the video on those sites that appear normal, without > leaving the app and open safari? thank you! -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira