style: Renames variables, adds a FIXME.
This commit is contained in:
parent
ac0ee771ed
commit
c0c198098b
|
@ -440,11 +440,10 @@ RemoteVideo.prototype.waitForPlayback = function (streamElement, stream) {
|
|||
|
||||
var self = this;
|
||||
|
||||
// Register 'onplaying' listener to trigger 'videoactive' on VideoLayout
|
||||
// when video playback starts
|
||||
// Triggers when video playback starts
|
||||
var onPlayingHandler = function () {
|
||||
self.wasVideoPlayed = true;
|
||||
self.VideoLayout.videoactive(streamElement, self.id);
|
||||
self.VideoLayout.remoteVideoActive(streamElement, self.id);
|
||||
streamElement.onplaying = null;
|
||||
// Refresh to show the video
|
||||
self.updateView();
|
||||
|
|
|
@ -423,12 +423,13 @@ var VideoLayout = {
|
|||
remoteVideo.updateView();
|
||||
},
|
||||
|
||||
videoactive (videoelem, resourceJid) {
|
||||
// FIXME: what does this do???
|
||||
remoteVideoActive(videoElement, resourceJid) {
|
||||
|
||||
console.info(resourceJid + " video is now active", videoelem);
|
||||
console.info(resourceJid + " video is now active", videoElement);
|
||||
|
||||
VideoLayout.resizeThumbnails(
|
||||
false, false, function() {$(videoelem).show();});
|
||||
false, false, function() {$(videoElement).show();});
|
||||
|
||||
// Update the large video to the last added video only if there's no
|
||||
// current dominant, focused speaker or update it to
|
||||
|
|
Loading…
Reference in New Issue