Просмотр исходного кода

'currentTime' property of stream elements are now supported by Temasys plugin.

master
paweldomas 10 лет назад
Родитель
Сommit
ab13fa35b4
1 измененных файлов: 0 добавлений и 5 удалений
  1. 0
    5
      modules/UI/videolayout/RemoteVideo.js

+ 0
- 5
modules/UI/videolayout/RemoteVideo.js Просмотреть файл

201
         }
201
         }
202
         self.VideoLayout.videoactive(streamElement, self.id);
202
         self.VideoLayout.videoactive(streamElement, self.id);
203
         streamElement.onplaying = null;
203
         streamElement.onplaying = null;
204
-        if (RTCBrowserType.isTemasysPluginUsed()) {
205
-            // 'currentTime' is used to check if the video has started
206
-            // and the value is not set by the plugin, so we do it
207
-            streamElement.currentTime = 1;
208
-        }
209
     };
204
     };
210
     streamElement.onplaying = onPlayingHandler;
205
     streamElement.onplaying = onPlayingHandler;
211
 };
206
 };

Загрузка…
Отмена
Сохранить