mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
Fix some ie bug
This commit is contained in:
1 parent
b6d3bb505b
commit
105608ee25
4 files changed
+6
-4
No files matched your search
@@ -13,7 +13,7 @@ export default function playMix(art, player) {
|
||||
value() {
|
||||
const promise = $video.play();
|
||||
|
||||
if (promise.then) {
|
||||
if (promise && promise.then) {
|
||||
promise.then().catch((err) => {
|
||||
notice.show = err;
|
||||
throw err;
|
||||
|
||||
Reference in new issue
Block a user