InnoPlayer SDK is built on top of native player frameworks. Apps that you build with our SDK work seamlessly with our video platform hosting and streaming, and ads products.
- Play Video on Demand (VOD) and Live Streaming that supports streaming format HLS.
- Easy API.
- Fullscreen video playback
- Adaptive Bitrate (ABR) support and manual quality selection
- Closed Captions (subtitle) support
- Customizable UI
- DRM support (Apple FairPlay)
- AirPlay Cast support
- Objective-C support.
- Swift support.
To complete the SDK import process, you must add the player license key and import the InnoPlayer_iOS_SDK
.
- In Xcode, open AppDelegate.swift.
- Set the player license key by calling the
InnoPlayerController
class setPlayerKey in application:didFinishLaunchingWithOptions.
InnoPlayerController.setPlayerKey("[your_key_here]");
Use the following steps and code examples to add a player to the ViewController.h or ViewController.swift file of your app:
- In
ViewController.swift
, create aInnoPlayerController
object namedplayer
. - Create a
InnoConfig
object named config. At the minimum, you must define the file property. - Initialize the player with the config.
let config = InnoConfig(contentURL: "[your_content_url_here]")
player = InnoPlayerController(frame: [your_frame_here], andConfig: config)
self.view.addSubview(player!.view!)
InnoPlayer will validate your license key and bundle id of your app. After it passed vaidation, InnoPlayer will show all the playback in your view.
For installation is recomended using Cocoapods.
InnoPlayer provide Google IMA to show advertising in media player, so please make sure that Google IMA is also installed in your pod.
target 'MyApp' do
pod 'InnoPlayer_iOS_SDK'
pod 'GoogleAds-IMA-iOS-SDK'
end
For complete instructions and API reference, see the InnoPlayer iOS SDK Reference