|
本帖最后由 superneed 于 2019-9-6 15:45 编辑
有mjj说gdrive 的Goindex无法在线播放。
解决方案:
1.原帖有大佬发的在线播放:
把代码放入<head></head>之间即可。
<script src="https://cdn.staticfile.org/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/layer/2.3/layer.js"></script>
<script>
$(function () {
$('.file a').each(function() {
$(this).on('click', function() {
if(this.href.lastIndexOf(".mp4") > 1) {
layer.open({
type: 1,
title: decodeURI(this.href.substring(this.href.lastIndexOf("/") + 1, this.href.length)),
shadeClose: true,
shade: 0.8,
area: ['100%', '100%'],
content: '<center><video controls autoplay=true preload=auto style="width:80%;object-fit: cover;" src="' + this.href + '"></video></center>'
});
return false;
}
});
});
});
</script>
2.这款VLC media player播放器。将下载链接直接粘贴进网络串流,在线看。
QQ图片20190906144901.png
(27.78 KB, 下载次数: 10)
|
|