|
|
(10 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| {{SJTU-software}} | | {{SJTU-software}} |
| <html> | | <html> |
− | <meta http-equiv=Content-Type content="text/html;charset=utf-8">
| |
− | <script src="JavaScript/jquery-1.7.2.min.js"></script>
| |
− | <script src="JavaScript/jsPlayer.js"></script>
| |
− | <script src="JavaScript/dtooltip-min.js"></script>
| |
− | <link href="CSS/play.css?var=1121" rel="stylesheet" type="text/css">
| |
− | <script type="text/javascript">
| |
− | function browserRedirect() {
| |
− | var sUserAgent= navigator.userAgent.toLowerCase();
| |
− | var bIsIpad= sUserAgent.match(/ipad/i) == "ipad";
| |
− | var bIsIphoneOs= sUserAgent.match(/iphone os/i) == "iphone os";
| |
− | var bIsMidp= sUserAgent.match(/midp/i) == "midp";
| |
− | var bIsUc7= sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";
| |
− | var bIsUc= sUserAgent.match(/ucweb/i) == "ucweb";
| |
− | var bIsAndroid= sUserAgent.match(/android/i) == "android";
| |
− | var bIsCE= sUserAgent.match(/windows ce/i) == "windows ce";
| |
− | var bIsWM= sUserAgent.match(/windows mobile/i) == "windows mobile";
| |
− |
| |
− |
| |
− | if(bIsAndroid){
| |
− | document.getElementById("a").style.display="block";
| |
− | document.getElementById("b").style.display="none";
| |
− | document.getElementById("c").style.display="none";
| |
− | document.getElementById("d").style.display="none";
| |
− | }
| |
− | else if (bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsCE || bIsWM) {
| |
− | document.getElementById("b").style.display="block";
| |
− | document.getElementById("d").style.display="none";
| |
− | document.getElementById("a").style.display="none";
| |
− | document.getElementById("c").style.display="none";
| |
− | } else if(bIsIpad) {
| |
− | document.getElementById("c").style.display="block";
| |
− | document.getElementById("a").style.display="none";
| |
− | document.getElementById("b").style.display="none";
| |
− | document.getElementById("d").style.display="none";
| |
− |
| |
− | }
| |
− | else {
| |
− | document.getElementById("d").style.display="block";
| |
− | document.getElementById("a").style.display="none";
| |
− | document.getElementById("b").style.display="none";
| |
− | document.getElementById("c").style.display="none";
| |
− |
| |
− | }
| |
− | }
| |
| | | |
− | window.onload=function(){browserRedirect();}
| + | |
− |
| + | |
− | $(document).ready(
| + | |
− | function(){
| + | |
− | var ps=new jsPlayer("700","500","myVideo");
| + | |
− | }
| + | |
− | );
| + | |
− | </script>
| + | |
| <body> | | <body> |
| <div class="wrapper"> | | <div class="wrapper"> |
| | | |
| <!-- MAIN--> | | <!-- MAIN--> |
− | <div style="width:700px;margin:auto;">
| + | <video src="https://static.igem.org/mediawiki/2018/2/2f/T--SJTU-software--teamvideo.mp4" |
− | <!--播放器代码开始-->
| + | width="800" |
− | <div class="playContent">
| + | controls="controls" |
− | <div class="playScreen">
| + | style="padding:100px;"> |
− | <video id="myVideo" style="width:300px;"> | + | Your browser does not support the video tag. |
− | <source src="https://static.igem.org/mediawiki/2018/7/72/T--SJTU-software--Movie1.mp4" type="video/mp4">
| + | |
| </video> | | </video> |
− | </div>
| |
− | <div class="proLines">
| |
− | <div id="origin" class="arial">00:00:00</div>
| |
− | <div class="line">
| |
− | <div class="isPlayLine">
| |
− | <div class="currentCircle">
| |
− |
| |
− | </div>
| |
− | </div>
| |
− | </div>
| |
− | <div id="duration" class="arial"></div>
| |
− | </div>
| |
− | <div class="playBars">
| |
− | <div class="prevBar"><img src="Images/prev.jpg" border="0" id="prev"></div>
| |
− | <div class="startBar"><img src="Images/stop.jpg" border="0" id="imgStatus"></div>
| |
− | <div class="nextBar"><img src="Images/next.jpg" border="0" id="next"></div>
| |
− | <div class="voiceContent">
| |
− | <div class="voice">
| |
− | <img src="Images/voice.jpg" id="voiceImg" border="0">
| |
− | </div>
| |
− | <div class="voiceline">
| |
− | <div class="voicekuai"></div>
| |
− | </div>
| |
− | </div>
| |
− | </div>
| |
− | </div>
| |
− | <!--播放器代码结束-->
| |
− | </div>
| |
− |
| |
| <!-- ENDS MAIN --> | | <!-- ENDS MAIN --> |
| | | |