|
@@ -124,13 +124,15 @@ export default class SharedVideoManager {
|
124
|
124
|
|
125
|
125
|
self.isSharedVideoShown = true;
|
126
|
126
|
|
|
127
|
+ // If we are sending the command and we are starting the player
|
|
128
|
+ // we need to continuously send the player current time position
|
127
|
129
|
if(APP.conference.isLocalId(self.from)) {
|
128
|
130
|
self.intervalId = setInterval(
|
129
|
131
|
self.updateCheck.bind(self),
|
130
|
132
|
self.updateInterval);
|
131
|
133
|
}
|
132
|
134
|
|
133
|
|
- // set initial state
|
|
135
|
+ // set initial state of the player if there is enough information
|
134
|
136
|
if(attributes.state === 'pause')
|
135
|
137
|
player.pauseVideo();
|
136
|
138
|
else if(attributes.time > 0) {
|
|
@@ -334,7 +336,7 @@ function SharedVideoThumb (url)
|
334
|
336
|
this.videoSpanId = "sharedVideoContainer";
|
335
|
337
|
this.container = this.createContainer(this.videoSpanId);
|
336
|
338
|
this.container.onclick = this.videoClick.bind(this);
|
337
|
|
- //this.bindHoverHandler();
|
|
339
|
+ this.bindHoverHandler();
|
338
|
340
|
|
339
|
341
|
SmallVideo.call(this, VideoLayout);
|
340
|
342
|
this.isVideoMuted = true;
|
|
@@ -371,7 +373,6 @@ SharedVideoThumb.prototype.createContainer = function (spanId) {
|
371
|
373
|
*/
|
372
|
374
|
SharedVideoThumb.prototype.videoClick = function () {
|
373
|
375
|
VideoLayout.handleVideoThumbClicked(true, this.url);
|
374
|
|
- VideoLayout.showLargeVideoContainer(this.videoType, true);
|
375
|
376
|
};
|
376
|
377
|
|
377
|
378
|
/**
|