更新
This commit is contained in:
parent
8ea1bd4df2
commit
4fba3b24a2
@ -159,9 +159,6 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
$(this).addClass('active').siblings().removeClass('active')
|
||||
const url = $(this).attr('data-src')
|
||||
$('.joe_detail__article-video .play iframe').attr({ src: player + url })
|
||||
$('.joe_detail__article-video .play .title').html('正在播放:' + $(this).html())
|
||||
const offset = $('.joe_detail__article-video .play').offset().top - $('.joe_header').height() - 15
|
||||
window.scrollTo({ top: offset, behavior: 'smooth' })
|
||||
})
|
||||
$('.joe_detail__article-video .episodes .item').first().click()
|
||||
}
|
||||
|
@ -43,7 +43,7 @@
|
||||
<?php if (!$this->hidden && $this->fields->video) : ?>
|
||||
<div class="joe_detail__article-video">
|
||||
<div class="play">
|
||||
<div class="title">正在播放:</div>
|
||||
<div class="title">播放预览</div>
|
||||
<div class="box">
|
||||
<iframe allowfullscreen="true" data-player="<?php echo $this->options->JCustomPlayer ? $this->options->JCustomPlayer : '/usr/themes/Joe/library/player.php?url=' ?>"></iframe>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user