代码很简单
var filepath="<%=filepath%>";
alert();
VideoLocalPlay.PlayVideo(filepath,"hkws");
为什么我加上alert下面代码就可以执行,去掉就不好使,请哪位大牛指导一下。
var filepath="<%=filepath%>";
alert();
VideoLocalPlay.PlayVideo(filepath,"hkws");
为什么我加上alert下面代码就可以执行,去掉就不好使,请哪位大牛指导一下。
这个也许不是一开始就是播放,需用mouse点击一下,才开始播放。
如
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js" />这种格式是错误的,会造成你这种情况。
必须是
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>这种格式