Преглед изворни кода

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…
Откажи
Сачувај