@xwadex/fesd 0.0.14-re.27 → 0.0.14-re.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13047,7 +13047,7 @@ class yv {
|
|
13047
13047
|
this.__storage__ = {
|
13048
13048
|
el: n,
|
13049
13049
|
options: t
|
13050
|
-
},
|
13050
|
+
}, ge(this, la, ro).call(this);
|
13051
13051
|
}
|
13052
13052
|
update() {
|
13053
13053
|
ge(this, la, ro).call(this);
|
@@ -13055,14 +13055,14 @@ class yv {
|
|
13055
13055
|
}
|
13056
13056
|
la = new WeakSet(), ro = function() {
|
13057
13057
|
const { el: n, options: t } = this.__storage__, { SETTINGS: a, EVENTS: r } = Ki;
|
13058
|
-
if (this.elements = Pi(n
|
13058
|
+
if (this.elements = Pi(n), this.options = Object.assign({}, a, t), this.__events__ = Object.assign({}, r), this.options.on)
|
13059
13059
|
for (const [l, f] of Object.entries(this.options.on))
|
13060
13060
|
this.__events__[l] = [f];
|
13061
13061
|
ge(this, cs, Ju).call(this);
|
13062
13062
|
}, cs = new WeakSet(), Ju = function() {
|
13063
13063
|
const { elements: n, options: t } = this;
|
13064
13064
|
n.forEach((a) => {
|
13065
|
-
a.video = {}, a.video.instance = this, a.video.defaultOptions = t, a.video.params = ge(this, ds, Qu).call(this, a), a.video.methods = {}, a.video.methods.update = this.update,
|
13065
|
+
a.video = {}, a.video.instance = this, a.video.defaultOptions = t, a.video.params = ge(this, ds, Qu).call(this, a), a.video.methods = {}, a.video.methods.update = this.update, Vl(a.video.params) && !vv(a.video.params) && (a.setAttribute("video4-active", "on"), ge(this, us, Zu).call(this, a)), Vl(a.video.params) || ul("video4", "無法取得影片 ID");
|
13066
13066
|
}), this.emit("init");
|
13067
13067
|
}, us = new WeakSet(), Zu = function(n) {
|
13068
13068
|
const { LAYOUT: t } = Ki, a = n.video.params, { $selector: r, videoLayoutNo: l, videoId: f, videoType: m, videoMode: c, videoButton: u, videoCover: h } = a;
|