---
updatedAt: 2026-07-23T09:23:29.000Z
agentTools:
  projectIndex: https://developers.dailymotion.com/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 <Anchor target="_blank" href="https://developers.dailymotion.com/v2/reference/ios-sdk-player-runtime-parameters">API</Anchor> , 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.scaleMode = .fit
dmPlayerParameters.startTime = 15
dmPlayerParameters.loop = true

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 <Anchor target="_blank" href="https://developers.dailymotion.com/v2/reference/ios-sdk-player-runtime-parameters">iOS SDK Reference</Anchor>.
</Callout>

<br />