Customize the Player

Customizing the Iframe Embed

The iframe embed code looks like the following

<iframe src="https://player.videoken.com/embed/vken-xgtZUiVkGB3" frameborder="0" allowfullscreen allow="autoplay"
width="720" height="480"></iframe>

The width and height attributes of the iframe html tag determines the size of the embedded player. For example to set the player size to 1280x720, the embed code would be

<iframe src="https://player.videoken.com/embed/vken-xgtZUiVkGB3" frameborder="0" allowfullscreen allow="autoplay"
width="1280" height="720"></iframe>

List of Player parameters

The player parameters allow for further customization of the player. These are passed as query parameters to the player url. (This would be the src attribute in the iframed embed code). For example, to hide reactions for all videos, the video url will be

https://player.videoken.com/embed/vken-xgtZUiVkGB3?reactions=0

The following will hide reactions and start playing the video from 3s

https://player.videoken.com/embed/vken-xgtZUiVkGB3?t=3&reactions=0

The equivalent iframe embed code will be

<iframe src="https://player.videoken.com/embed/vken-xgtZUiVkGB3?t=3&reactions=0" frameborder="0" allowfullscreen allow="autoplay"
width="1280" height="720"></iframe>

Given below is a list of all possible parameters that you can pass

Option Default Value Description
t 0 Setting to n will cause the video to start playing the nth second
autoplay 0 Setting to 1 will start playing the video automatically
chapterItem 0 Setting to n will cause the video to start playing from the nth chapter
navigator 1 Setting to 0 will hide Chapters Navigator
reactions 1 Setting to 0 will hide reactions in the timeline
enableQuiz 1 Setting to 0 will disable all quizzes in the video