[object Object] Icon

Encoding
Learn how to create, start, manage and modify Encodings

[object Object] Icon

Player
Learn how to create, start, manage and modify Players

[object Object] Icon

Analytics
Learn how to create, start, manage and modify Analyticss

Docs Home
User shortcuts for search
Focus by pressing f
Hide results by pressing Esc
Navigate via   keys

iOS/tvOS SDK

The following tutorials show you through how to configure, integrate and customize your Player on IOS.

Step 1: Add the SDK to your ProjectLink Icon

Add the Player SDK to the Project Using CocoaPods

Add the following line to the Podfile of your project while replacing Version Number with the desired version number of the SDK. All available versions are listed in the cocoapod repository.

After that, install the pod using pod install.

Add the Player SDK to the Project directly

As an alternative to CocoaPods, you can download the latest SDK bundle release from GitHub.

Then, when using Xcode, go to the General settings page by clicking on your project in the left sidebar, and add the SDK bundle (BitmovinPlayer.framework) under Linked Frameworks and Libraries.

Step 2: Setup the PlayerLink Icon

First, you need to create the config.

Then, the player has to be instantiated using the config:

After that a player view has to be created and added as child view:

At last add the license key to the <dict> in Info.plist:

Step 3: Configure your Player LicenseLink Icon

Whitelist Bundle Identifiers

In order to use the player in your app you have to whitelist the bundle identifier of your app for which you want to enable the player. This is a security mechanism and protects your license from being used elsewhere.

Domain whitelisting can be done in the dashboard under Player -> Licenses.

ScreenshotDashboardLicensesNoinlineSvg

Step 4: Final ReviewLink Icon

In this tutorial you completed the basics to use the Bitmovin Player, added the SDK to your project, set up the player license and added code to configure the player.

Now you can start having a look at the configuration options and adapt the player to your needs.

ExamplesLink Icon

You can download fully functional code examples from our Github account.

Github

Give us feedback