mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-17 10:01:20 -08:00
add isSafari in instance
This commit is contained in:
1 parent
f05cf63105
commit
dbe99aa205
3 files changed
+38
-7
No files matched your search
@@ -4799,9 +4799,6 @@
|
||||
_this.option = validator(mergeOption, scheme);
|
||||
_this.isFocus = false;
|
||||
_this.isDestroy = false;
|
||||
_this.userAgent = userAgent;
|
||||
_this.isMobile = isMobile;
|
||||
_this.isWechat = isWechat;
|
||||
_this.whitelist = new Whitelist(_assertThisInitialized(_this));
|
||||
_this.template = new Template(_assertThisInitialized(_this));
|
||||
_this.events = new Events(_assertThisInitialized(_this));
|
||||
@@ -4831,6 +4828,26 @@
|
||||
}
|
||||
|
||||
_createClass(Artplayer, [{
|
||||
key: "userAgent",
|
||||
get: function get() {
|
||||
return userAgent;
|
||||
}
|
||||
}, {
|
||||
key: "isMobile",
|
||||
get: function get() {
|
||||
return isMobile;
|
||||
}
|
||||
}, {
|
||||
key: "isWechat",
|
||||
get: function get() {
|
||||
return isWechat;
|
||||
}
|
||||
}, {
|
||||
key: "isSafari",
|
||||
get: function get() {
|
||||
return isSafari;
|
||||
}
|
||||
}, {
|
||||
key: "proxy",
|
||||
get: function get() {
|
||||
return this.events.proxy;
|
||||
|
||||
Reference in new issue
Block a user