diff options
author | Heshan <heshan@heidisoft.com> | 2011-04-06 21:47:46 +0530 |
---|---|---|
committer | Heshan <heshan@heidisoft.com> | 2011-04-06 21:47:46 +0530 |
commit | 0ce24fea04b8b571ef887d184a7f8cdeca2d4c4a (patch) | |
tree | d07484b2f7e7de07fe2fec0a27198a6857bc629f /js | |
parent | 33aed9a2bc33078ffd2ba46d2e77ac78de187512 (diff) | |
download | video-0ce24fea04b8b571ef887d184a7f8cdeca2d4c4a.tar.gz video-0ce24fea04b8b571ef887d184a7f8cdeca2d4c4a.tar.bz2 |
#1092668 by anglo VideoJS player
Diffstat (limited to 'js')
-rw-r--r-- | js/video.js | 13 |
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) { |