File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -271,10 +271,12 @@ function init() {
271
271
supplied: " ' .$ extension .'",
272
272
useStateClassSkin: true,
273
273
autoBlur: false,
274
- smoothPlayBar: true,
275
274
keyEnabled: false,
276
275
remainingDuration: true,
277
- toggleDuration: true
276
+ toggleDuration: true,
277
+ solution: "html, flash",
278
+ errorAlerts: false,
279
+ warningAlerts: false
278
280
});
279
281
' ;
280
282
@@ -361,9 +363,11 @@ function init() {
361
363
echo '</div> ' ;
362
364
363
365
if ($ jplayer_supported ) {
364
- echo '<br /><div align="center"> ' ;
366
+ echo '<br /> ' ;
367
+ echo '<div class="col-md-3 col-md-offset-3"> ' ;
365
368
echo DocumentManager::generate_video_preview ($ document_data );
366
369
echo '</div> ' ;
370
+
367
371
// media_element blocks jplayer disable it
368
372
Display::$ global_template ->assign ('show_media_element ' , 0 );
369
373
}
Original file line number Diff line number Diff line change @@ -3208,7 +3208,6 @@ public static function generate_video_preview($document_data = array())
3208
3208
<div id="jquery_jplayer_1" class="jp-jplayer"></div>
3209
3209
<div class="jp-gui">
3210
3210
<div class="jp-video-play">
3211
-
3212
3211
</div>
3213
3212
<div class="jp-interface">
3214
3213
<div class="jp-progress">
@@ -3226,9 +3225,9 @@ public static function generate_video_preview($document_data = array())
3226
3225
<div class="jp-volume-controls">
3227
3226
<button class="jp-mute" role="button" tabindex="0">mute</button>
3228
3227
<button class="jp-volume-max" role="button" tabindex="0">max volume</button>
3229
- <div class="jp-volume-bar">
3230
- <div class="jp-volume-bar-value"></div>
3231
- </div>
3228
+ <div class="jp-volume-bar">
3229
+ <div class="jp-volume-bar-value"></div>
3230
+ </div>
3232
3231
</div>
3233
3232
<div class="jp-toggles">
3234
3233
<button class="jp-repeat" role="button" tabindex="0">repeat</button>
You can’t perform that action at this time.
0 commit comments