Contagem decrescente em direto

  Desculpe, este artigo está disponível em inglês

You can place a countdown to the start of the live broadcast in the player. To do this you need to create your own custom text element in the builder with the command countdown

And specify the start time of the broadcast in the Text field in UTC format YYYY-MM-DD hh:mm:ss and the GMT time zone. This time must be in the future, otherwise the element will not be displayed in the player. You can also specify the start time in the player code using the countdowntext parameter

var player = new Playerjs({id:"player", file:"//site.com/live.m3u8", countdowntext:"2020-08-15 21:00:00 GMT+01"});

You can change the position, colors, sizes, font etc. in the settings of create element. When the timer runs out, the player will try to start playing.

Add-ons

You can add special labels to the start time using a forward slash /

At first you can specify the label that will be displayed if the stream is late:

2021-01-20 21:56:00 GMT+08/The broadcast will start soon

Then you can specify the label that will be displayed before the countdown:

2021-01-20 21:56:00 GMT+08/The broadcast will start soon/Start in

You can also specify your own separator for days, hours, minutes and seconds:

2021-01-20 21:56:00 GMT+08/The broadcast will start soon/Start in/d:h:m:s

20.0.6
2024 © PlayerJS

Iniciar sessão

Iniciar sessão

Inscrever-se gratuitamente

Inscrever-se
Ao inscrever-se, o utilizador concorda com Termos de Serviço
Login se tiver uma conta

Restaurar a palavra-passe

Restaurar
Esqueceu-se do e-mail? Contacte-nos