更新
This commit is contained in:
parent
9672e6d9a4
commit
6763584f42
@ -31,7 +31,7 @@ function _parseContent($post, $login)
|
||||
}
|
||||
/* 过滤dplayer播放器 */
|
||||
if (preg_match('/\{dplayer\s{0,}src=".{0,}"\s{0,}\/\}/sSU', $content)) {
|
||||
$player = Helper::options()->JCustomPlayer ? Helper::options()->JCustomPlayer : '/usr/themes/Joe/library/player.php?url=';
|
||||
$player = Helper::options()->JCustomPlayer ? Helper::options()->JCustomPlayer : '/usr/themes/joe/library/player.php?url=';
|
||||
$content = preg_replace(
|
||||
'/\{dplayer\s{0,}src="(.{0,})"\s{0,}\/\}/sSU',
|
||||
'<iframe class="joe_detail__article-player block" allowfullscreen="true" src="' . $player . '$1"></iframe>',
|
||||
|
@ -33,7 +33,7 @@
|
||||
</div>
|
||||
<div class="joe_video__player joe_video__contain">
|
||||
<div class="joe_video__contain-title">正在播放:</div>
|
||||
<iframe allowfullscreen="true" class="joe_video__player-play" data-player="<?php echo $this->options->JCustomPlayer ? $this->options->JCustomPlayer : '/usr/themes/Joe/library/player.php?url=' ?>"></iframe>
|
||||
<iframe allowfullscreen="true" class="joe_video__player-play" data-player="<?php echo $this->options->JCustomPlayer ? $this->options->JCustomPlayer : '/usr/themes/joe/library/player.php?url=' ?>"></iframe>
|
||||
</div>
|
||||
<?php else : ?>
|
||||
<div class="joe_video__type joe_video__contain">
|
||||
|
Loading…
Reference in New Issue
Block a user