| | |
| | | margin: 0 auto; |
| | | text-align: center; |
| | | } |
| | | /* .player-wrapper canvas { |
| | | width: 100%; |
| | | height: 100%; |
| | | }*/ |
| | | |
| | | /* .player-wrapper canvas { |
| | | width: 100%; |
| | | height: 100%; |
| | | }*/ |
| | | |
| | | </style> |
| | | </head> |
| | |
| | | <!-- jessiebuca播放器 --> |
| | | <div class="wrap"> |
| | | <div class="content"> |
| | | <div class="player" onmouseover="playerShow()"onmouseout="playerHidden()"> |
| | | <div class="player" onmouseover="playerShow()" onmouseout="playerHidden()"> |
| | | <div class="player-wrapper" id="container" style="background-color: #0D0E1B;"> |
| | | </div> |
| | | <div class="control"> |
| | |
| | | |
| | | |
| | | function play(firstResponseIp) { |
| | | h5lc.play("ws://172.16.30.113:8082/live/video3.flv") |
| | | h5lc.play("ws://172.16.30.113:8082/live/video4.flv") |
| | | } |
| | | |
| | | function stop() { |
| | |
| | | } |
| | | } |
| | | |
| | | function playerShow(){ |
| | | if (isLive) { |
| | | $(".player .control").css("display","block") |
| | | }else { |
| | | $(".player .control").css("display","none") |
| | | } |
| | | function playerShow() { |
| | | $(".player .control").css("display", "block") |
| | | } |
| | | |
| | | function playerHidden(){ |
| | | $(".player .control").css("display","none") |
| | | function playerHidden() { |
| | | $(".player .control").css("display", "none") |
| | | } |
| | | |
| | | |
| | |
| | | animateFinish: false, // 动画是否完成 |
| | | callback: function (config) { |
| | | console.log(config); |
| | | currentTimer=config.time; |
| | | currentTimer = config.time; |
| | | }, |
| | | animateCallback: function (config) { |
| | | |
| | |
| | | } |
| | | }); |
| | | $(".progressTime-left-b-start").on("click", function () { |
| | | if(currentTimer){ |
| | | if (currentTimer) { |
| | | $(this).addClass("stop"); |
| | | |
| | | $.ajax({ |
| | | url: ""+"?param=", |
| | | url: "" + "?param=", |
| | | async: false,//同步方式发送请求,true为异步发送 |
| | | type: "GET", |
| | | data: {}, |