Youtube embedded player not working on the physical device - ios

I followed the tutorial on how to embed youtube player in my ios application. The application works perfectly on the simulator. When I load it on the physical device it gives me a black screen but with no actions at all. I checked if I go to the right view controller and I found myself in the correct one.

Please make sure that you are embedding the You Tube API on a Apple device that runs iOS 7.0 or greater.

Related

Screen Sharing in iOS using opentok

Hello i am using opentok for screen sharing.Everything is working fine but one issue is i am facing it works correctly in iOS simulator mean screen is sharing perfectly but in real iOS device screen is not sharing black screen is appearing on other device.
When using screen sharing you can share the contents of a given UIView inside your application. Due to iOS security restrictions you cannot share the content of any other view outside your application. (If you send your application to the background the other end will receive a black screen since the view you are sharing is not longer being rendered)
Please take a look to the screen sharing sample for more details: https://github.com/opentok/opentok-ios-sdk-samples-swift/tree/master/Screen-Sharing

Video no longer playing in iOS 8 WebbApp standalone mode, anyone found a solution?

This bug looks to be resolved as of iOS 9.
The video plays fine on the desktop evergreen browsers, and in stand alone mode on Android devices.
It even plays nice on the iOS8 safari, but once a user goes and adds it to their home screen, the video no longer plays.
I put up an example here http://bugs.readingplus.com/ios8-video-test/.
If you using iOS8 you can play the video, add the url to your home screen and load it up. You will get the controls, but once you touch play all you get is the first frame.
I put the source of the page on Github, or you can just go to the page and view the source.
Am I missing something, is my markup fubared, is this just a bug, has anyone found a work around?
As of iOS 8.3 the issue is partially resolved. I have verified that the video, in the example, now plays when launched from the "Add to Home Screen" link.
The remaining issue is the audio, it is not being rendered/played.
this is great news, can it be confirmed by others?
I don't want to take the plunge and update to 8.3 until I'm confident video and audio in a homescreen webclip are working in iOS 8.3
Looks like iOS 8.3 fixes this issue. I have a standalone web app that uses an audio element, and it's working as expected now. FINALLY!

Can't play video in JWPlayer in IOS 7 app, 6.1 works fine

I'm trying to do something pretty basic here. I can't get JWPlayer to even play in an IOS 7 app. When I run it in the simulator as IOS 6.1 it can play just fine. I started with a much more complicated app but then started over with just a single page application. That single page contains one web view which takes the entire space. I'm loading a URL into the web view. That URL that is being loaded is an external page which contains the player. The player loads just fine. I don't get any errors. However, when trying to click play on IOS 7 nothing happens. Like I said, if I switch the simulator to IOS 6.1, I can click play and it works great.
I'm not trying to autostart the video. I'm not trying to play a flash file (it's an .mp4). I'm using the latest version of JWPlayer 6.8. Did something change in IOS 7 regarding HTML5 video player support?
UPDATE: I tried a web view that had just a tag and was able to play the video successfully in IOS 7.
ANOTHER UPDATE: I just tried the exact same code as an iPad app IOS 7 and it works! What is going on here?

iPad 2 and 4 not mirroring/outputting video via HDMI to full screen

I am encountering an issue which I believe is caused, as a result of upgrading to iOS version 6 on my iPad2 and iPad4. I have searched the support boards but have not found a solution to this issue. The issue involves mirroring the iPad on a TV using the official HDMI adaptor as shown here: http://store.apple.com/uk/product/MD098ZM/A/apple-digital-av-adapter
When playing a video on the device using the native MPMoviePlayerController, via the adapter, the result on the TV is not full screen and, instead, it is provided with black borders around the video (these bars are an ever present even when viewing the app's non-video parts or the standard apple menus which I believe was always the case but, previously, the video played full screen via the cable).
I have tested apps which I have developed which contain video playback, as well as a number of leading apps on the marketplace, and all experience the same issue when playing video mirrored on the device with iOS6 and TV at the same time. The only app I found that was able to play the video full screen on TV is the BBC iPlayer, but this seems to switch of mirroring off temporarily when the video is played full screen on TV.
I believe that, when on iOS 5, it was possible to mirror the video playback on device and TV simultaneously, and at full screen, without the black bars on the TV.
Can anyone here please confirm if this issue is related to iOS 6 and be able to kindly point me in the right direction to resolve this issue in the iOS apps that I have developed?
Are you sure that this is not happening because of your external screen's overscan settings?
Check this thread iOS screen mirroring shows overscan borders on selected apps
And here is some information on overscan & underscan from Apple
http://support.apple.com/kb/HT5841

Embedded videos not showing up in iPad landscape view

I am building a website that has embedded videos, mostly from YouTube. The videos are not showing up in landscape view for iPad. Any idea why or how I can fix this? THanks!
Unfortunately i will need more information about this in order to be able to provide you with a specific answer.
Can you see the video on portrait mode but not on landscape?
There is a fair chance you have your YouTube app hidden via a jailbreak tweak, or you have restrictions enabled. Restrictions can be enabled without a jailbreak.As it turns out, having the YouTube app hidden can result in embedded videos not to show. YouTube videos on the actual YouTube site will still play fine regardless, but embedded videos can give you problems if your stock YouTube app is hidden, or you have restrictions enabled.
If your iPad is not jailbroken, then go under Settings/General/Restrictions and ensure that the YouTube app is set to On.
PS: I would also advise you to update your iOS version to the latest one.
I hope this solves your problem, if not then please provide more information like:
1)if your iPad is jailbroken or not
2)the version of iOS you are running
3)a link to one of your pages (or the code)
4)verify that this problem occurs in more than 1 device (to check that it is not a device issue)
Regards,
Thanos

Resources