From 34df6baf227084dc9b78af9be10275e8f14c5d25 Mon Sep 17 00:00:00 2001 From: nyanmisaka Date: Sat, 21 Nov 2020 13:20:44 +0800 Subject: [PATCH] fix airplay in safari --- src/plugins/htmlVideoPlayer/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/htmlVideoPlayer/plugin.js b/src/plugins/htmlVideoPlayer/plugin.js index c5b614bcc7..0ee3b5e147 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -1539,7 +1539,7 @@ function tryRemoveElement(elem) { return false; } - static isAirPlayEnabled() { + isAirPlayEnabled() { if (document.AirPlayEnabled) { return !!document.AirplayElement; }