目前我在网站上使用CKPlayer作为我的视频。 但在源代码中,它显示了所有视频网址。 有隐藏它们的方法吗? 谢谢
<div class="title">Video Title</div>
<div class="playbox">
<div id="playbox" style="background-color: rgb(0, 0, 0); width:
962px; height: 400px;"><video controls=""
src="http://www.example.com/video/firstvideo.m3u8" id="ckplayer_a1"
width="100%" height="400" autoplay="autoplay"></video></div>
<script type="text/javascript">
var flashvars={
f:'http://www.example.com/video/ckplayer/firstvideo.swf',
a:'http://www.example.com/video/firstvideo.m3u8',
c:0,
s:4,
h:3,
p:1,
i:'',//
};
var video=['http://www.example.com/video/firstvideo.m3u8'];
if(navigator.userAgent.indexOf('Mobile')>0||navigator.userAgent.indexOf('Pad')>0){
var html5first = true;
}else{
var html5first = false;
}
CKobject.embed('http://www.example.com/statics/building/js/video/ckplayer/ckplayer.s
wf','playbox','ckplayer_a1','100%','400',html5first,flashvars,video)
</script>
</div>