实时倒计时

  抱歉,此页面正在等待翻译成土耳其语

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

19.10.26
2024 © PlayerJS

登录

登录

免费注册

注册
注册即表示您同意服务条款
登录(如果您有帐户)

恢复密码

恢复
忘记电子邮件?联系我们