diff options
author | MaZderMind | 2015-12-20 15:29:09 +0100 |
---|---|---|
committer | MaZderMind | 2015-12-20 15:29:09 +0100 |
commit | a439f454df31093157aaa773e549f5bacc5584c1 (patch) | |
tree | fe533d042b76213d0029753a7054090a2a8c5494 /template/assemblies/player | |
parent | 82fcef7c4cd257c0ee3b666899542e033269af32 (diff) |
implement new subtitles L2S2 interface
Diffstat (limited to 'template/assemblies/player')
-rw-r--r-- | template/assemblies/player/video.phtml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/template/assemblies/player/video.phtml b/template/assemblies/player/video.phtml index 9149a4f..cbbf06b 100644 --- a/template/assemblies/player/video.phtml +++ b/template/assemblies/player/video.phtml @@ -1,4 +1,8 @@ -<div style="max-width: <?=h($stream->getVideoWidth())?>px; max-height: <?=h($stream->getVideoHeight())?>px;" class="video-wrap"> +<div + style="max-width: <?=h($stream->getVideoWidth())?>px; max-height: <?=h($stream->getVideoHeight())?>px;" + class="video-wrap <? if($room->hasSubtitles()): ?>has-subtitles<? endif ?>" + data-subtitles-room-id="<?=h($room->getSubtitlesRoomId())?>" +> <video <? if(!isset($autoplay) || $autoplay == true): ?> autoplay="autoplay" |