1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-28 01:39:29 +02:00

Work arround for FF when removing the main video

This commit is contained in:
Daniel Berteaud 2014-06-12 18:07:18 +02:00
parent dfe38a654d
commit 003d094625

View File

@ -1280,6 +1280,10 @@ function initVroom(room) {
if (mainVid == id + '_video_incoming' || mainVid == id + '_incoming' || mainVid == id + 'Screen'){
$('#mainVideo').hide(500);
setTimeout(function(){
if ($.browser.mozilla && $('#mainVideo video').length > 0){
$($('#mainVideo video').get(0)).attr('src', $($('#mohPlayer').get(0)).attr('src'));
$('#mainVideo video').get(0).pause();
}
$('#mainVideo').html('');
}, 500);
mainVid = false;