There are many advanced options which you can add to when embedding a video. The technical term for these advanced options is a parameter. The most commonly used parameters can be toggled via the Embed Dialog on your Viddler account. However, there are additional parameters supported by Viddler's HTML5/Arpeggio player, and these are listed and described below.
Some features may not be available to all account levels. Please contact us, if you're unable to see a feature on your HTML5 player.
data-video-id
- string - The Viddler video ID (token)data-width
- string - Can be either a value in pixels or a percentage (defaults to 640px)data-height
- string - If blank, it will be calculated from aspect ratiodata-type
- string - Either video or comments (defaults to video)data-autoplay
- boolean - Should the player start playing once loaded (default false)data-initial-volume
- integer - a value between 0 and 100 (default 80)data-default-captions-language
- string - Two-letter ISO 639-1 language code (for example:en
for English,pl
for Polish)data-subtitle-display-style
- string - Select from pre-defined variables available, detailed in the table below
data-subtitle-display-style
Options
Style | Text Color | BG Color | Attribute |
shadow | white | black | none required (default) |
shadow | black | white | data-subtitle-display-style="black-on-white-shadow" |
block | black | white | data-subtitle-display-style="black-on-white-block" |
block | white | black | data-subtitle-display-style="white-on-black-block" |
data-jump-forward-control
- integer - Number of seconds to jump forward. E.g., "30"data-jump-back-control
- integer - Number of seconds to jump back. E.g., "15"data-playback-speed-controls
- boolean - Defaults to account-level setting. The opposite can be used by enabling or disabling with"true"
or"false"
in the embed code.data-default-resolution
- string - Choose from360p
,480p
,720p
, or1080p
data-disable-comment-replying
- boolean - The ability to hide the option to reply to timeline comments. Defaults to false. Use"true"
to hide reply button.
Comments
0 comments
Please sign in to leave a comment.