Latest 2.0
License Public domain
Platforms ios 5.0
Frameworks Security, SystemConfiguration, DailymotionSDK

Dailymotion Player SDK for iOS

This repository contains the official open source Objective-C SDK that allows you to embed Dailymotion Videos in your iOS application.

See documentation at

For a full documentation of the Player API, see



Just add the following line to your Podfile (See for more information)

pod 'dailymotion-player-objc'


Just drag and drop the dailymotion-player-objc folder into your project.


Check out the repository and open dailymotion-sdk-objc.xcodeproj for a working example of how to embed the Dailymotion Player into your app.

Also look at the init methods of DMPlayerViewController for ways to embed the Dailymotion Player without using storyboards.

About App Transport Security (iOS 9+)

Starting with iOS9, Apple added a new App Transport Security policy.
As Dailymotion player uses an UIWebView to embed his video player, you’ll need to define a few ATS exceptions in your Info.plist for the video player to work properly.

Option 1: Disabling ATS

If your application already rely on several non-https services, or if you allow your users to load arbitrary web sites, you might want to completely disable ATS.
You can do it by adding the following to your app’s Info.plist :


Option 2: White-listing

If you cannot afford to disable ATS, you’ll probably want to add to the ATS exception list instead.
You can do it by adding the following to your app’s Info.plist :



We are relying on the GitHub issues tracker for feedback. File bugs or other issues


Here is what is coming in the next months:

  • Player SDK for Mac OS X
  • New API SDK for iOS and Mac OS X

Need the API SDK?

NOTE: This is version 2.9.0 and higher of the Dailymotion SDK. This version no longer supports the API SDK.

Check out released tag 2.0.2 for the latest API SDK version:

If you need iOS 3+ support, please check out

Warning: This library is up-to-date and maintained if you want to use the Dailymotion Player on your native iOS apps. However, the API SDK is not maintained anymore and will be totally replaced in the coming future. Be sure to check this page again to know when the new version of the API SDK will be available.

Latest podspec

    "name": "Dailymotion-SDK",
    "version": "2.0",
    "summary": "This SDK allows you to integrate Dailymotion in your iOS applications.",
    "homepage": "",
    "license": {
        "type": "Public domain",
        "text": ""
    "authors": {
        "Olivier Poitrey": "[email protected]"
    "source": {
        "http": ""
    "platforms": {
        "ios": "5.0"
    "source_files": "DailymotionSDK.framework/Headers/DailymotionSDK.h",
    "preserve_paths": "DailymotionSDK.framework",
    "frameworks": [
    "xcconfig": {
        "FRAMEWORK_SEARCH_PATHS": ""${PODS_ROOT}/Dailymotion-SDK""
    "requires_arc": false

Pin It on Pinterest

Share This