IFrame, video or object tags. none of them working on IOS. There is no problem on Android.
I am trying to show embedded youtube videos but it only shows blank screen.
you can see codes below link. Please help. I have tried many many solutions written on web but nothing worked out. It makes me crazy.
https://groups.google.com/forum/#!topic/phonegap/K856L608gQQ
I am trying to show embedded youtube videos but it only shows blank screen.
you can see codes below link. Please help. I have tried many many solutions written on web but nothing worked out. It makes me crazy.
https://groups.google.com/forum/#!topic/phonegap/K856L608gQQ
- 13 Posts
- 2 Reply Likes
- exhausted
Posted 4 years ago
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
The problem might not be the iframe or embed, but the preceding code.
Have you checked the value of the 'url' variable prior to adding the iframe?
Have you checked the value of the 'url' variable prior to adding the iframe?
- 13 Posts
- 2 Reply Likes
makes sense but I have also tried to add url manually as static code. It didnt work out either :S
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
OK, have you tried a completely different url, then, to see if this happens with any website or if this is a specific youtube problem?
- 13 Posts
- 2 Reply Likes
Yes, I have tried with different url. Not specific to youtube. didnt work either
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
Strange.
Which webview are you using?
Do problems arise on multiple iOS versions?
It should work properly, so I would suggest you try a simple hard-coded (non jQuery) iframe, first, like here:
http://stackoverflow.com/questions/26...
Which webview are you using?
Do problems arise on multiple iOS versions?
It should work properly, so I would suggest you try a simple hard-coded (non jQuery) iframe, first, like here:
http://stackoverflow.com/questions/26...
- 13 Posts
- 2 Reply Likes
sorry, i dont understand what you mean by which webview. How can i check it ?
Yes, problems arise on multipler IOS versions. I use phonagap developer app to test it.
I tried hard coded iframe before but didnt work out
Yes, problems arise on multipler IOS versions. I use phonagap developer app to test it.
I tried hard coded iframe before but didnt work out
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
I use phonagap developer app to test it.Hm...that might change things. Have you considered testing on real devices? Perhaps there is no problem at all!
With PGB, you can choose between WKwebview and UIwebview, at least when building with the latest PGB version.
- 13 Posts
- 2 Reply Likes
I actually test it on real devices by phongeGap developer App.
here is how I do. I use phonegap desktop. I choose project folder and initiate the app.
Then i install phonegap developer app on my Ipad or Iphone then I connect to desktop application and test it on device.
but thx. I will test it different way as you said. I will generate ipa file and install it. I will post feedback soon
here is how I do. I use phonegap desktop. I choose project folder and initiate the app.
Then i install phonegap developer app on my Ipad or Iphone then I connect to desktop application and test it on device.
but thx. I will test it different way as you said. I will generate ipa file and install it. I will post feedback soon
- 13 Posts
- 2 Reply Likes
ok. It worked when i generate ipa file and install it to my device using itunes.
The problem wasn't about the code from beginning. It was all about the way i test.
Here is a suggestion for the one who is beginner like me ...
Dont test your IOS app on phonegap developer app.
Thank you for help
The problem wasn't about the code from beginning. It was all about the way i test.
Here is a suggestion for the one who is beginner like me ...
Dont test your IOS app on phonegap developer app.
Thank you for help
Related Categories
-
PhoneGap Framework
- 2926 Conversations
- 61 Followers
-
Plugins
- 1283 Conversations
- 38 Followers
-
Programming (Others)
- 1167 Conversations
- 23 Followers

