aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/html5.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/html5.js')
-rw-r--r--src/js/html5.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/js/html5.js b/src/js/html5.js
index 0591a709..6e8c6483 100644
--- a/src/js/html5.js
+++ b/src/js/html5.js
@@ -6,6 +6,7 @@ import support from './support';
import { removeElement } from './utils/elements';
import { triggerEvent } from './utils/events';
import is from './utils/is';
+import { silencePromise } from './utils/promise';
import { setAspectRatio } from './utils/style';
const html5 = {
@@ -101,7 +102,7 @@ const html5 = {
// Resume playing
if (!paused) {
- player.play();
+ silencePromise(player.play());
}
});