备用资源

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

Alternative sources can be used for the player to switch in case of errors. Such sources are added via or

var player = new Playerjs({
  "id":"player",
  "file":"//site.com/video.m3u8 or //site.com/video.mp4",
});

If the first file does not load, or is not supported by the user platform, the player will switch to the second one.

Balancing sources are added via and, the player will select the URL randomly.

var player = new Playerjs({
  "id":"player",
  "file":"//site1.com/video.mp4 and //site2.com/video.mp4",
});

Operators can be combined (first works or, then and)

//site1.com/video.m3u8 and //site1.com/video.mp4 or //site2.com/video.m3u8 and //site2.com/video.mp4

If you want to specify quality options, operators are specified internally.

var player = new Playerjs({
  "id":"player",
  "file":"[480p]//site.com/video480_1.mp4 or //site.com/video480_2.mp4,[720p]//site.com/video720_1.mp4 or //site.com/video720_2.mp4"
});

19.10.26
2024 © PlayerJS

登录

登录

免费注册

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

恢复密码

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