Skip to content

Commit 0457b64

Browse files
committed
Fix div center
1 parent e628f4b commit 0457b64

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

main/document/showinframes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ function init() {
361361
echo '</div>';
362362

363363
if ($jplayer_supported) {
364-
echo '<br /><div class="span12" style="margin:0 auto 0 auto; width:640px; text-align:center;">';
364+
echo '<br /><div align="center">';
365365
echo DocumentManager::generate_video_preview($document_data);
366366
echo '</div>';
367367
// media_element blocks jplayer disable it

main/inc/lib/document.lib.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3201,13 +3201,14 @@ static function generate_media_preview($i, $type = 'simple')
32013201
*/
32023202
public static function generate_video_preview($document_data = array())
32033203
{
3204+
//<button class="jp-video-play-icon" role="button" tabindex="0">play</button>
32043205
$html = '
32053206
<div id="jp_container_1" class="jp-video" role="application" aria-label="media player">
32063207
<div class="jp-type-single">
32073208
<div id="jquery_jplayer_1" class="jp-jplayer"></div>
32083209
<div class="jp-gui">
32093210
<div class="jp-video-play">
3210-
<button class="jp-video-play-icon" role="button" tabindex="0">play</button>
3211+
32113212
</div>
32123213
<div class="jp-interface">
32133214
<div class="jp-progress">

0 commit comments

Comments
 (0)