时间: 2018/05/3
  • 技术文章
  • 视频文章
  • 解决方案
  • 用户体验

 

热点视频主要有两大特色功能:

  1. 在视频上添加外部链接。
  2. 播放视频上任何时间段的视频(适用于章节式或教育类视频)类似于书籍目录。
    介绍及使用:

演示视频:

演示视频所使用的VTT文件代码:

WEBVTT

00:00:00.000 --> 00:00:05.000
{
"href":"#t=0",
"left":"53%",
"top":"32%"
}

00:00:00.000 --> 00:00:05.000
{
"href":"#t=7",
"left":"44%",
"top":"46%"
}

00:00:00.000 --> 00:00:05.000
{
"href":"#t=18",
"left":"46%",
"top":"51%"
}

00:00:00.000 --> 00:00:05.000
{
"href":"#t=49",
"left":"49.5%",
"top":"56.5%"
}

00:00:00.000 --> 00:00:05.000
{
"href":"#t=64",
"left":"48%",
"top":"62%"
}

00:00:00.000 --> 00:00:05.000
{
"href":"#t=202",
"left":"55.5%",
"top":"68.5%"
}

00:00:06.000 --> 00:04:00.000
{
"href":"#t=0",
"text":"本视频目录",
"left":"50%",
"top":"3%"
}

00:00:05.000 --> 00:00:20.000
{
"href":"https://dogeek.net",
"text":"多青首页",
"left":"21%",
"top":"13%"
}

00:00:06.000 --> 00:00:11.000
{
"href":"https://dogeek.net/watch/%E5%A4%9A%E9%9D%92%E5%95%86%E4%B8%9A%E5%AE%A3%E4%BC%A0%E8%A7%86%E9%A2%91-2",
"left":"77%",
"top":"78%"
}