aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorHeshan <heshan@heidisoft.com>2011-04-06 21:47:46 +0530
committerHeshan <heshan@heidisoft.com>2011-04-06 21:47:46 +0530
commit0ce24fea04b8b571ef887d184a7f8cdeca2d4c4a (patch)
treed07484b2f7e7de07fe2fec0a27198a6857bc629f /js
parent33aed9a2bc33078ffd2ba46d2e77ac78de187512 (diff)
downloadvideo-0ce24fea04b8b571ef887d184a7f8cdeca2d4c4a.tar.gz
video-0ce24fea04b8b571ef887d184a7f8cdeca2d4c4a.tar.bz2
#1092668 by anglo VideoJS player
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) {