---
updatedAt: 2026-07-27T10:00:23.000Z
agentTools:
  projectIndex: https://developers.dailymotion.com/v0/llms.txt
---

# Add runtime Player parameters (iOS SDK)

In addition to Player configuration settings, you can add extra parameters that can change at runtime.

<br />

While the main Player experience is controlled using the settings defined in your Player configuration from the [Dailymotion Studio](https://www.dailymotion.com/partner/embed/players)  (Players tab) or the [API](https://developers.dailymotion.com/v0/reference/partner-api-create-a-player) , additional **runtime customization** is achievable using client-side parameters. They allow you to specify additional Player behavior or pass in required values to a specific Player embed.

In the example below, we're adding the following runtime parameters to the existing Player config defined in the \{Player ID} placeholder:

* `startTime=15`: video will start playing from second 15.
* `loop=true`: video will loop.

Add runtime parameters in the `dmPlayerParameters` variable:

```swift
var dmPlayerParameters = DMPlayerParameters()
dmPlayerParameters.customConfig =  ["keyvalues":"category=sport&section=video", "dynamiciu":"USERID/12345"]
dmPlayerParameters.allowIDFA = true
dmPlayerParameters.allowPIP = true
dmPlayerParameters.defaultFullscreenOrientation = .landscapeRight
dmPlayerParameters.loop = true
dmPlayerParameters.scaleMode = .fit
dmPlayerParameters.startTime = 15

Dailymotion.createPlayer(playerId: "PlayerId", playerParameters: dmPlayerParameters, logLevels: [.all]) { playerView, error in
      
}
```

<Callout icon="➡️" theme="default">
  ### More runtime Player parameters

  Find all available runtime parameters in the [iOS SDK Reference](https://developers.dailymotion.com/v0/reference/ios-sdk-player-runtime-parameters).
</Callout>

<br />