Can an iOS app access the subtitles or closed captions of a video in the device's Videos library? - objective-c

Is there a way to do this, by using the Media Player Framework or any other means?
I would like to build an app that allows the user to work with the subtitles of a store-bought video.

Starting from iOS5, UIAccessibility protocol specifies a method UIAccessibilityIsClosedCaptioningEnabled() to get the value of Settings->Video->Closed Captioning switch value.

Related

Change brightness of video and save in photo library in Objective-C, XCode

I am developing and app for iOS platform. The app is about video editing, I want to give users option to change the brightness of the video before saving. I am using GPUImage library for video editing, is there any way I can change the brightness of the video and save it in the photo library. Thanks
P.S. I tried finding the similar issue, sorry if the answer to this question already exist, i could not find that.

Change Playback Quality of YTPlayerView

I am having a problem with quality for embedded YouTube videos in my app. I am using YTPlayerView to embed videos from YouTube. My app has 2 options: option 1 is the user can watch video with 360p quality and option 2 is 720p quality. Are these two options possible? If yes, can I customize the video playback quality of the YTPlayerView?
I tried to change the quality this way, but it does not appear to work:
[self.playerView setPlaybackQuality:kYTPlaybackQualitySmall];
I assume you are using YouTube's youtube-ios-player-helper for iOS.
Unfortunately, due the to the nature of the iFrame API, it is not possible to force a quality playback with this library. The player will load the video in the closest resolution to your YTPlayerView's size. If you change the size of your YTPlayerView programmatically, the view will reload the video to fit your new frame.
See this GitHub issue on the project page. Unfortunately, this is the expected behavior of the class.

Video.js for Vimeo

I use video.js for vimeo. Played on the desktop in a custom player with my styles, it's good, but on the tablets and mobiles played in a default browse player. Why? I want custom player in mobile too. Can you help me?
In a recent version video.js was updated to use the custom skin on touch devices, so you might try updating your version. But this will still only make a difference on tablets that don't go to fullscreen video. On iOS devices and most(?) android devices, whenever the video goes to fullscreen it uses the native controls, and there's nothing we can do in the browser to change that. Hopefully in the future the devices will adopt the requestFullscreen browser API so we can use custom controls in that context.

Ooyala video player: notification for fullscreen/inline switch?

I am using Ooyala video player in my project, I need a way to detect when the user switch between full screen / inline mode, is there any notification for it?
Thanks!
Based on your tags, I'm guessing this is for the Ooyala iOS SDK. You want to add an observer for the OOOoyalaPlayerViewControllerFullscreenEnter and OOOoyalaPlayerViewControllerFullscreenExit notifications on your OOOoyalaPlayerViewController.

Objective-C iPhone - Playing youtube within an app

Is it possible to play youtube using the method described in this url
http://iphoneincubator.com/blog/audio-video/how-to-play-youtube-videos-within-an-application
but with a custom button? (i.e in the picture in the link, it's of a baseball game with the play button overlay on top, I want that to be a custom button that I create)
Thank you,
Tee
No, the way that you play YouTube videos is by opening it in the mobile site, which takes you to the embedded QuickTime/YouTube viewer. It doesn't play them in the view of your app like the QTView would on a Mac.