alemart 8 месяцев назад
Родитель
Сommit
7fd68fa2b0
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      src/sources/video-source.ts

+ 1
- 1
src/sources/video-source.ts Просмотреть файл

@@ -149,7 +149,7 @@ export class VideoSource implements Source
149 149
         video.setAttribute('playsinline', '');
150 150
 
151 151
         // handle autoplay
152
-        return this._handleAutoPlay(video).then(video => {
152
+        return this._handleAutoPlay(video).finally(() => {
153 153
 
154 154
             // handle WebKit quirks
155 155
             if(Utils.isWebKit()) {

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