From 0bf98bf6cfef3e87c281c4a70be4e500a61a0bf8 Mon Sep 17 00:00:00 2001 From: paweldomas Date: Mon, 1 Feb 2016 15:37:10 -0600 Subject: [PATCH] Fixes broken call to waitForPlayback in lastN logic. --- modules/UI/videolayout/VideoLayout.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.js index 11a7af5cc..7ee3ac5f0 100644 --- a/modules/UI/videolayout/VideoLayout.js +++ b/modules/UI/videolayout/VideoLayout.js @@ -709,7 +709,8 @@ var VideoLayout = { updateLargeVideo = false; } remoteVideo.waitForPlayback( - remoteVideo.selectVideoElement(), remoteVideo.videoStream); + remoteVideo.selectVideoElement()[0], + remoteVideo.videoStream); } }); }