为Typecho主题添加简单的视频解析方法

支持解析的视频网站:腾讯视频、奇艺视频、优酷视频、乐视视频、芒果视频、土豆视频、搜狐视频、pptv视频腾讯视频、奇艺视频、优酷视频、乐视视频、芒果视频、土豆视频、搜狐视频、pptv视频

添加解析教程

1、在文章页面或者独立页面插入下面代码

!!!
<script type="text/javascript">eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('b a(){0 6=1.2("9").4;0 5=1.2("3");0 3=1.2("3").c;0 8=5.e[3].4;0 7=1.2("f");7.d=8+6}',16,16,'var|document|getElementById|jk|value|jkurl|diz|cljurl|jkv|url|dihejk|function|selectedIndex|src|options|player'.split('|'),0,{}))
function dihejk2() {var diz =document.getElementById("url").value;var jkurl =document.getElementById("jk");var jk =document.getElementById("jk").selectedIndex;var jkv =jkurl.options[jk].value;var cljurl =document.getElementById("player");window.open(jkv + diz,"_blank");}
</script>
</head>
<div class="language">
</a>
</div>
</p>
</section>
</section>
</section>
<div class="col-md-14 column">
<div class="panel panel-default">
<div id="kj" class="panel-body">
<iframe src="https://www.8090g.cn/jiexi/?url=" style="background-color: black;" id="player"width="100%"height="400px"allowTransparency="true"allowfullscreen="true"frameborder="0"scrolling="no"></iframe>
</div>
</div>
<script>if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)){document.getElementById("sdfdf").style.display ="block";}
</script>
</div>
<div class="input-group" style="width: 100%;">
<span class="input-group-addon input-lg" style="width: 80px; ">选择接口</span>
<select class="form-control input-lg" id="jk">
<option value="https://www.8090g.cn/jiexi/?url=" selected="">蓝光路线</option>
</select>
</div>
<br>
<div class="input-group" style="width: 100%;">
<span class="input-group-addon input-lg" style="width: 80px;">播放地址</span>
<input class="form-control input-lg" type="search" placeholder="电脑使用Ctrl+V粘贴网址-手机直接长按粘贴网址" id="url">
</div>
<br>
<div>
<button id="bf" type="button" class="btn btn-primary btn-round btn-block" onClick="dihejk()">Go-点击开始解析</button>
<button id="bf" type="button" class="btn btn-success btn-round btn-block" onClick="dihejk2()">New-点击全屏解析</button>
</div>
</div>
<div id="coin" class="coin"><script>var Coin =true;</script></div>
<div class="panel-body" style="text-align: center;">
<div class="container-fluid">
</button>
!!!
----------
!!!
<h3>支持以下视频解析:</h3>
[button color="danger" icon="glyphicon glyphicon-film" url="https://v.qq.com/"]腾讯视频[/button]
[button color="success" icon="glyphicon glyphicon-film" url="https://www.iqiyi.com/"]奇艺视频[/button]
[button color="info" icon="glyphicon glyphicon-film" url="https://www.youku.com/"]优酷视频[/button]
[button color="warning" icon="glyphicon glyphicon-film" url="https://www.le.com/"]乐视视频[/button]
[button color="primary" icon="glyphicon glyphicon-film" url="https://www.mgtv.com/"]芒果视频[/button]
[button color="light" icon="glyphicon glyphicon-film" url="https://www.aiqqzy.com/"]土豆视频[/button]
[button color="dark" icon="glyphicon glyphicon-film" url="https://tv.sohu.com/"]搜狐视频[/button]
[button color="black" icon="glyphicon glyphicon-film" url="https://www.pptv.com/"]pptv视频[/button]
!!!
© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享
评论 抢沙发

请登录后发表评论