Set specific configs to the player
Query params
you can set configs to a specific video with query params
Param | Type | Default (if config not exists) | Description |
---|---|---|---|
*v | UUID | none | Video ID |
l | UUID | none | Library ID |
color | String | #4874F1 | The primary color of the player |
controlsColor | String | #FFF | The color of controls and menus |
controls | String | play-large,play,progress,current-time,volume,captions,settings,pip,fullscreen | A list of enabled controls |
autoplay | Boolean | false | Autoplay on load |
muted | Boolean | false | Video init on muted mode |
saveProgress | Boolean | true | Save video watch progress |
thumbnail | String | auto generated | Thumbnail URL |
preload | Boolean | true | HLS preload enabled |
mutedIndicatorIcon | Boolean | false | Muted indicator is enabled |
mutedIndicatorTextTop | String | - | Muted indicator text |
mutedIndicatorTextBottom | String | - | Muted indicator text |
title | String | - | Video title |
watermark | String | - | Jwt assigned |
alternativeProgress | Boolean | false | Barra de progresso ficticia |
alternativeProgress2xLimit | Number | 20 | Limite em % que a barra vai correr com outra velocidade |
alternativeProgressVelocity | Number | 5 | Velocidade da barra |
alternativeProgressHeight | Number | 0 | Altura da barra |
saveProgressTitle | String | 'Você já começou a assistir esse vídeo' | Título da pagina de save progress |
saveProgressBackgroundOpacity | Number | 1 | |
saveProgressButton1Title | String | 'Continuar assistindo' | |
saveProgressButton2Title | String | 'Voltar ao início' | |
hideControlsOnStart | Boolean | false | Esconder controles antes do play |
restartAfterEnd | Boolean | false | Reiniciar no fim |
troubleshootDialog | Boolean | true | Clique do botão direito |
disableForward | Boolean | false | Desabilitar clique para avançar ou recuar |
playOpensFullscreen | Boolean | false | Play abre fullscreen |
availableSpeeds | String | 0.5,0.75,1,1.25,1.5,2 | Available speeds for the player |
defaultSpeed | Number | 1 | Default video speed |
captionsFontSize | Number | 20 | Subtitles font size (px) |
smartAutoplay | Boolean | false | If true the player will try play with audio before show the muted indicator |
Usage
<iframe id="panda-player" src="https://player-vz-6a0bfc2c-30b.tv.pandavideo.com.br/embed/?v=13337fdb-db1c-436b-b888-4908c433feba&saveProgress=false&controls=play-large,progress"
style="border:0;width:720px;height:480px"></iframe>