aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/video.js13
1 files changed, 11 insertions, 2 deletions
diff --git a/js/video.js b/js/video.js
index fc2fa7f..7a98507 100644
--- a/js/video.js
+++ b/js/video.js
@@ -31,10 +31,19 @@
} else {
$('#flv_player_'+ext).hide();
}
+ if($(this).val() == 'video_play_html5') {
+ $('#html5_player_'+ext).show();
+ } else {
+ $('#html5_player_'+ext).hide();
+ }
});
- if($('select', this).val() == 'video_play_flv') {
+ if($('select', this).val() == 'video_play_flv')
$('#flv_player_'+ext).show();
- }
+
+ if($('select', this).val() == 'video_play_html5')
+ $('#html5_player_'+ext).show();
+ else
+ $('#html5_player_'+ext).hide();
});
if(settings.video) {