!241 修复video跨域配置导致视频无法预览问题

Merge pull request !241 from lujiaming/master
pull/242/MERGE
kailing 1 year ago committed by Gitee
commit 693b13e818
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -64,7 +64,7 @@
container: '.video', //视频容器
//autoplay:true,//自动播放
// live:true,//指定为直播
crossOrigin:'Anonymous',//发送跨域信息示例Anonymous
// crossOrigin:'Anonymous',//发送跨域信息示例Anonymous
plug:<#if "${file.suffix?lower_case}" == "m3u8" >'hls.js'<#elseif "${file.suffix?lower_case}" == "ts" >'mpegts.js'<#elseif "${file.suffix?lower_case}" == "flv" >'flv.js'<#elseif "${file.suffix?lower_case}" == "mpd" >dashPlayer<#else>''</#if>,//设置使用插件
loop: false,//是否需要循环播放
rightBar:true,

Loading…
Cancel
Save