事件分析
可注册视频播放器事件并用这些事件创建自定义视频播放器控件或触发应用中的其他自定义行为币游国际真人娱乐视频播放器支持谷歌分析平台跟踪事件
触发事件 :
// Init player with events and analytics var player = cloudinary.videoPlayer('demo-events-player', cloud_name: 'cloud' , // In this section we define the list of events that will be triggered to the page, in addition to a predefined list of events { playedEventTimes: [3, 10], // In this section we define the (complete) list of events that will be sent to analytics analytics: { // Enable player analytics events: [ 'play', 'pause', 'percentsplayed', 'start', 'ended', 'fullscreenchange']}})!//修改播放器源播放器.source
视频播放列表
可创建播放列表基于公共标识列表或云式账户中带指定标签的所有视频定义播放列表后,可使用播放列表方法控制列表跳转到下一段或前段视频中, 跳转到播放列表中的一段视频索引中, 确定是否显示即将到来的视频预览, 是否自动向下段视频跳动前端等
/定义Playlist源码1={publicId:snow_hots/s源Types:var源2={publicId:#sea_turtle//.//初始化云式HTML5视频播放器///播放列表控件+云式播放器+4++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++定义播放列表自动提前播放下段视频,当播放列表结束时重复播放列表,并在当前视频结束前5秒提交视频/playlist([源1,源22], {自发发: true,重复: true:night,presentUpwer:5});