mirror of
https://github.com/dani/vroom.git
synced 2024-06-30 07:13:41 +02:00
Work arround for FF when removing the main video
This commit is contained in:
parent
dfe38a654d
commit
003d094625
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user