Ooyala video player: notification for fullscreen/inline switch? - objective-c

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.

Related

how add music player for android in notification bar?

I write a music player, and there is a need to hang a widget player in notification bar. how it can be implemented ? can be an example?
P.S. Sorry for my english
Try this: How to create a notification similar to Play Music app from Google
If you read through the notification docs, you'll see you can make it persistent and set a custom layout.

How to get notification badge in actionbar item using Titanium

I am developing application using Titanium and want feature to have a badge of notification in the action bar in Android as shown in attached image.
From Android native we can achieve the same using actionLayout property from the menu >> item tag.
But not clear how can we do the same using Titanium.
At least I need suggestion or guidance from where I can move ahead.
Thanks.
Check Android Notification tutorial from Titanium documentation.
There should be all you need. However, I'm not sure what do you mean by badge. There is appBadge property but it works only for iOS system.

How does 'NowListening' triggers iOS5 banners + delegates?

Essentially a Cydia application that shows an iOS5 notification center banner each time a song changes in the iPod app.
You can:
- Tap the banner to open iPod app
- Tap and hold a banner to show playing controls in the multitasking switcher.
- Swipe a banner to the right to play the next track.
Demo: http://www.youtube.com/watch?v=9ajPdXcJkjs
Is this done with a UILocalNotification at time now-1 or any other method?
How does it not show up in notification center?
How does it do those actions on the notification bar?
Note: I'm asking this to develop a JB app, so no interest in official API's only.
I am the dev of NowListening !
NowListening doesn't provide real notifications, it just provide a banner each time the song changes (with any app) ;)
So, to do this, you have to create an instance of BBBulletin and push it to SBBulletinBannerController.
To dump all these classes, use class-dump.

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

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.

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.