An open API service indexing awesome lists of open source software.

https://github.com/donkeyclip/iframe


https://github.com/donkeyclip/iframe

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Using Donkeyclip with an Iframe

To embed a Donkeyclip video player on your website using an iframe, simply include the following HTML code and replace the `src` attribute with the URL of the your donkeyclip:

```html

```

# Available query params

- `scaleToFit` (optional): A boolean or string value that, when set to `true`, scales the clip to fit the player dimensions.
- `mcVersion` (optional): A string specifying the version of the MotorCortex library to use.
- `playerVersion` (optional): A string specifying the version of the Donkeyclip Player library to use.
- `theme` (optional): A `PlayerTheme` that sets the player's theme. Read more [here](https://github.com/donkeyclip/motorcortex-player)
- `initParams` (optional): An stringified object containing `DefinitionParams` for initializing the clip.
- `visible` (optional): A string value `"always"` indicating that the player should always be visible.
- `ms` (optional): A number or string value representing the millisecond at which the clip should start playing.
- `volume` (optional): A number or string value representing the volume level of the clip (0-1).
- `speed` (optional): A number or string value representing the playback speed of the clip.
- `backgroundColor` (optional): A string value representing the background color of the player.
- `spinnerColor` (optional): A string value representing the color of the loading spinner.