HTML5 Player URL Paramenters
Some features of the Teyuto player may be activated with URL parameters. This means that the Teyuto embed (iFrame) source URL can be customized using query parameters introduced by a &
(ampersand).
Here is an example of a Teyuto embed code:
<iframe width="560" height="315" src="https://teyuto.teyuto.tv/video/player?w=10912&auto=off" frameborder="0" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" scrolling="no"></iframe>
1. Autoplay
To enable autoplay, use &auto=on
.
Example URL with autoplay enabled
<iframe width="560" height="315" src="https://teyuto.teyuto.tv/video/player?w=10912&auto=on" frameborder="0" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" scrolling="no"></iframe>
2. Defined Playback Times
To start a video from a specific time, use &t=x
, where x
is the time in seconds.
Example URL with playback starting at 10 seconds
<iframe width="560" height="315" src="https://teyuto.teyuto.tv/video/player?w=10912&t=10" frameborder="0" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" scrolling="no"></iframe>
3. Hide Controls
To hide the player’s control bar, use &controls=off
.
Example URL with controls hidden
<iframe width="560" height="315" src="https://teyuto.teyuto.tv/video/player?w=10912&controls=off" frameborder="0" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" scrolling="no"></iframe>
4. Loop
To make the video loop automatically, use &loop=on
.
Example URL with looping enabled
<iframe width="560" height="315" src="https://teyuto.teyuto.tv/video/player?w=10912&loop=on" frameborder="0" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" scrolling="no"></iframe>
5. Hide Captions
To hide the player’s captions, use &captions=off
.
Example URL with captions hidden
<iframe width="560" height="315" src="https://teyuto.teyuto.tv/video/player?w=10912&captions=off" frameborder="0" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" scrolling="no"></iframe>
6. Related Content
To show related content within the video player, use &related=on
.
If you want to display related content based on specific tags, use &relatedTags=1,2,3,...
, where 1,2,3,...
are tag IDs.
For example:
-
Show related content based on tags
1
,2
, and3
: -
Show related content based on tag
1
only: