为WP添加现在很火的VIP会员视频解析单页,从某解析网移植过的。
支持ssl网站,3个ssl解析接口,可能有点广告,不过只是在手机端显示,谢谢某人的二次开发。
代码:
<?php /* Template Name: 视频解析 author: 诗梦 url: https://www.mom1.cn/2543.html */ ?> <?php get_header(); ?> <style type="text/css"> #primary { width: 100%; } .contact-page { margin: 40px 0; } #contact label { display: block; margin: 0 0 0 30px; padding: 5px 0; } #contact input, #contact textarea { background: #fff; margin: 0 0 0 30px; padding: 6px; width: 40%; border: 1px solid #ebebeb; border-radius: 2px; -webkit-appearance: none; } #contact textarea { width: 80%; } #contact input[type="submit"]{ border: none; padding: 0 5px; height: 42px; margin-top: 10px; cursor: pointer; background: #0088cc; color: #fff; border-radius: 2px; } #contact input[type="submit"]:hover{ background: #666; border-radius: 2px; transition: all 0.2s ease-in 0s; } .errormsg, .successmsg{ color: #d80000; padding: 10px; border-radius: 2px; } .successmsg { background: #91c24f; } .tcha { margin: 0 0 0 30px; } </style> <head> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/> <link href="https://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet" /> <script href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"></script> <script src="https://cdn.bootcss.com/jquery/1.2.3/jquery.min.js"></script> <script src="https://cdn.bootcss.com/bootstrap/1.4.0/js/bootstrap-modal.js"></script> <script src="https://cdn.bootcss.com/jquery/1.7.2/jquery.min.js"></script> <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,{}))</script> <script type="text/javascript" src="<?php echo esc_url( get_template_directory_uri() ); ?>/js/jquery.form.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#contact').ajaxForm(function(data) { if (data==1){ $('#success').fadeIn("slow"); $('#bademail').fadeOut("slow"); $('#badserver').fadeOut("slow"); $('#contact').resetForm(); } else if (data==2){ $('#badserver').fadeIn("slow"); } else if (data==3) { $('#bademail').fadeIn("slow"); } }); }); </script> <table class="table table-bordered" style="background: #000"> <tbody> <div class="col-md-14 column"> <div class="panel panel-default"> <div id="kj" class="panel-body"> <iframe src="https://api.47ks.com/webcloud/?v=&url=https://v.qq.com/x/cover/hz1jkqvpb4detvb.html" id="player" width="100%" height="400px" allowtransparency="true" frameborder="0" scrolling="no"></iframe> </div> </div> </div> <tr> <font color=#0000CD> <marquee direction="left" behavior="scroll" scrollamount="10" bgcolor="" width=100% height="100%" scrolldelay="100%"> (使用方法:将要播放的VIP视频网址粘贴输入框。目前支持爱奇艺、优酷、乐视、芒果、腾讯等等VIP视频解析。例如:http://www.iqiyi.com/v_19rr97y2lo.html)请勿相信或者点击任何视频广告,本服务使用完全免费! </marquee> </font> <br><br> <div class="col-md-14 column"> <form method="post" id="khname"> <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 rel="nofollow" value="https://www.65yw.com/chaojikanx.php?url=" selected>SSL1号引擎系统</option> <option rel="nofollow" value="https://api.47ks.com/webcloud/?v=&url=" selected>SSL2号引擎系统</option> <option rel="nofollow" value="https://zz.janch.top/jx.php?url=">SSL3号引擎系统</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="输入视频页面网址" id="url"> </div> <br> <div> <button id="bf" type="button" class="btn btn-primary btn-lg btn-block" onclick="dihejk()">点击播放</button> <footer id="colophon" class="site-footer wow fadeInUp" data-wow-delay="0.3s" role="contentinfo"><div class="site-info"> </tbody> </table> </div> </body> <?php get_footer(); ?>
使用:
在正使用的主题,根目录里新建一个php文件复制代码放入,如有什么不懂请留言。
转载请注明出处 AE博客|墨渊 » 给WP网站添加VIP会员视频解析页
发表评论