Преглед на файлове

Small change

customisations
alemart преди 7 месеца
родител
ревизия
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()) {

Loading…
Отказ
Запис