修改播放参数
This commit is contained in:
parent
88c5dc58c2
commit
c612509971
@ -230,10 +230,10 @@
|
||||
<script type="text/javascript" src="./js/jcchain.js"></script>
|
||||
<script type="text/javascript" src="./js/main.js"></script>
|
||||
<script>
|
||||
$('#gameVideo').click(function () {
|
||||
$('.video-mask').hide()
|
||||
$('#video-frame').show()
|
||||
})
|
||||
// $('#gameVideo').click(function () {
|
||||
// $('.video-mask').hide()
|
||||
// $('#video-frame').show()
|
||||
// })
|
||||
var tag = document.createElement('script')
|
||||
|
||||
tag.src = 'https://www.youtube.com/iframe_api'
|
||||
@ -266,8 +266,6 @@
|
||||
var done = false
|
||||
function onPlayerStateChange(event) {
|
||||
if (event.data == YT.PlayerState.PLAYING && !done) {
|
||||
setTimeout(stopVideo, 6000)
|
||||
done = true
|
||||
}
|
||||
}
|
||||
function stopVideo() {
|
||||
|
@ -281,8 +281,6 @@
|
||||
var done = false
|
||||
function onPlayerStateChange(event) {
|
||||
if (event.data == YT.PlayerState.PLAYING && !done) {
|
||||
setTimeout(stopVideo, 6000)
|
||||
done = true
|
||||
}
|
||||
}
|
||||
function stopVideo() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user