@hopeplayer/vue 1.2.0 → 1.3.0
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HopePlayer.vue.d.ts","sourceRoot":"","sources":["../src/HopePlayer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HopePlayer.vue.d.ts","sourceRoot":"","sources":["../src/HopePlayer.vue"],"names":[],"mappings":"AAwIA,OAAO,KAAK,EAAE,iBAAiB,IAAI,YAAY,EAAsB,iBAAiB,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AA6G/H,iBAAS,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAE7B;AAED,iBAAS,KAAK,IAAI,IAAI,CAErB;AAED,iBAAS,UAAU,IAAI,YAAY,GAAG,IAAI,CAEzC;AA6BD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
package/dist/hope-player-vue.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as k, getCurrentInstance as O, ref as v, onMounted as j, watch as S, onUpdated as w, onBeforeUnmount as R, openBlock as _, createElementBlock as P, camelize as q } from "vue";
|
|
2
|
+
const E = /* @__PURE__ */ k({
|
|
3
3
|
__name: "HopePlayer",
|
|
4
4
|
props: {
|
|
5
5
|
id: {},
|
|
@@ -15,6 +15,7 @@ const O = /* @__PURE__ */ h({
|
|
|
15
15
|
subtitles: {},
|
|
16
16
|
playbackRates: {},
|
|
17
17
|
qualityBadge: { type: Boolean },
|
|
18
|
+
liveSeekBar: { type: Boolean },
|
|
18
19
|
autoHideDelayMs: {},
|
|
19
20
|
cursorHideDelayMs: { type: [Number, Boolean] },
|
|
20
21
|
tapToPlay: { type: [String, Boolean] },
|
|
@@ -57,72 +58,79 @@ const O = /* @__PURE__ */ h({
|
|
|
57
58
|
dai: {}
|
|
58
59
|
},
|
|
59
60
|
emits: ["ready", "play", "pause", "ended", "error", "qualitychange", "ratechange", "adstart", "adend", "aderror", "itemchange", "sticky", "sourcefallback"],
|
|
60
|
-
setup(
|
|
61
|
-
const
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
["hp:
|
|
73
|
-
["hp:
|
|
74
|
-
["hp:
|
|
75
|
-
["hp:
|
|
76
|
-
["hp:
|
|
61
|
+
setup(u, { expose: y, emit: h }) {
|
|
62
|
+
const i = u, a = h, r = O();
|
|
63
|
+
function m() {
|
|
64
|
+
const t = (r == null ? void 0 : r.vnode.props) ?? {}, e = new Set(Object.keys(t).map(q));
|
|
65
|
+
return Object.fromEntries(Object.entries(i).filter(([o, g]) => e.has(o) && g !== void 0));
|
|
66
|
+
}
|
|
67
|
+
const n = v(null);
|
|
68
|
+
let p = !1, l = [];
|
|
69
|
+
j(() => {
|
|
70
|
+
const t = n.value;
|
|
71
|
+
if (t) {
|
|
72
|
+
l = [
|
|
73
|
+
["hp:ready", () => a("ready")],
|
|
74
|
+
["hp:play", () => a("play")],
|
|
75
|
+
["hp:pause", () => a("pause")],
|
|
76
|
+
["hp:ended", () => a("ended")],
|
|
77
|
+
["hp:error", (e) => a("error", e.detail.message)],
|
|
78
|
+
["hp:qualitychange", (e) => a("qualitychange", e.detail.label)],
|
|
79
|
+
["hp:ratechange", (e) => a("ratechange", e.detail.rate)],
|
|
80
|
+
["hp:adstart", (e) => a("adstart", e.detail.type)],
|
|
81
|
+
["hp:adend", (e) => a("adend", e.detail.type)],
|
|
82
|
+
["hp:aderror", (e) => a("aderror", e.detail.message)],
|
|
77
83
|
[
|
|
78
84
|
"hp:itemchange",
|
|
79
85
|
(e) => {
|
|
80
|
-
const
|
|
81
|
-
|
|
86
|
+
const o = e.detail;
|
|
87
|
+
a("itemchange", o.index, o.source);
|
|
82
88
|
}
|
|
83
89
|
],
|
|
84
90
|
[
|
|
85
91
|
"hp:sticky",
|
|
86
92
|
(e) => {
|
|
87
|
-
const
|
|
88
|
-
|
|
93
|
+
const o = e.detail;
|
|
94
|
+
a("sticky", o.sticky, o.corner);
|
|
89
95
|
}
|
|
90
96
|
],
|
|
91
|
-
["hp:sourcefallback", (e) =>
|
|
97
|
+
["hp:sourcefallback", (e) => a("sourcefallback", e.detail)]
|
|
92
98
|
];
|
|
93
|
-
for (const [e,
|
|
99
|
+
for (const [e, o] of l) t.addEventListener(e, o);
|
|
94
100
|
import("@hopeplayer/core").then(() => {
|
|
95
|
-
|
|
101
|
+
p || !n.value || (c = !0, s());
|
|
96
102
|
});
|
|
97
103
|
}
|
|
98
|
-
}), b(
|
|
99
|
-
() => JSON.stringify(l),
|
|
100
|
-
() => {
|
|
101
|
-
o.value && (o.value.options = { ...l });
|
|
102
|
-
}
|
|
103
|
-
), f(() => {
|
|
104
|
-
s = !0;
|
|
105
|
-
const a = o.value;
|
|
106
|
-
if (a) for (const [e, n] of r) a.removeEventListener(e, n);
|
|
107
104
|
});
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
105
|
+
let c = !1, d = "";
|
|
106
|
+
function s() {
|
|
107
|
+
if (!c || !n.value) return;
|
|
108
|
+
const t = m(), e = JSON.stringify(t);
|
|
109
|
+
e !== d && (d = e, n.value.options = t);
|
|
110
|
+
}
|
|
111
|
+
S(() => JSON.stringify(i), s), w(s), R(() => {
|
|
112
|
+
p = !0;
|
|
113
|
+
const t = n.value;
|
|
114
|
+
if (t) for (const [e, o] of l) t.removeEventListener(e, o);
|
|
115
|
+
});
|
|
116
|
+
function f() {
|
|
117
|
+
var t;
|
|
118
|
+
return ((t = n.value) == null ? void 0 : t.play()) ?? Promise.resolve();
|
|
111
119
|
}
|
|
112
|
-
function
|
|
113
|
-
var
|
|
114
|
-
(
|
|
120
|
+
function b() {
|
|
121
|
+
var t;
|
|
122
|
+
(t = n.value) == null || t.pause();
|
|
115
123
|
}
|
|
116
|
-
function
|
|
117
|
-
return
|
|
124
|
+
function B() {
|
|
125
|
+
return n.value;
|
|
118
126
|
}
|
|
119
|
-
return
|
|
127
|
+
return y({ play: f, pause: b, getElement: B }), (t, e) => (_(), P("hope-player", {
|
|
120
128
|
ref_key: "elRef",
|
|
121
|
-
ref:
|
|
129
|
+
ref: n
|
|
122
130
|
}, null, 512));
|
|
123
131
|
}
|
|
124
132
|
});
|
|
125
133
|
export {
|
|
126
|
-
|
|
134
|
+
E as HopePlayer
|
|
127
135
|
};
|
|
128
136
|
//# sourceMappingURL=hope-player-vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hope-player-vue.js","sources":["../src/HopePlayer.vue"],"sourcesContent":["<script setup lang=\"ts\">\n// <hope-player> için ince Vue sarmalayıcı: prop'ları `.options`'a yazar, `hp:*` event'lerini emit'lere çevirir.\n// class/style Vue'nun fallthrough attribute'larıyla köke geçer. Core `onMounted` içinde dinamik import edilir —\n// statik import `HTMLElement` olmayan SSR'da (Nuxt) çöker.\nimport { ref, onMounted, onBeforeUnmount, watch } from 'vue';\nimport type { HopePlayerElement as HopePlayerEl, HopePlayerEventMap, HopePlayerOptions, StickyCorner } from '@hopeplayer/core';\n\nconst props = defineProps<HopePlayerOptions>();\n\nconst emit = defineEmits<{\n ready: [];\n play: [];\n pause: [];\n ended: [];\n error: [message: string];\n qualitychange: [label: string];\n ratechange: [rate: number];\n adstart: [type: 'preroll' | 'midroll' | 'postroll'];\n adend: [type: 'preroll' | 'midroll' | 'postroll'];\n aderror: [message: string];\n itemchange: [index: number, source: 'playlist' | 'story'];\n sticky: [sticky: boolean, corner: StickyCorner | undefined];\n sourcefallback: [detail: HopePlayerEventMap['hp:sourcefallback']['detail']];\n}>();\n\nconst elRef = ref<HopePlayerEl | null>(null);\nlet cancelled = false;\nlet listeners: Array<[keyof HopePlayerEventMap, EventListener]> = [];\n\nonMounted(() => {\n const el = elRef.value;\n if (!el) return;\n\n // Dinleyiciler import'u beklemeden eklenir: core yüklenince customElements.define() elementi senkron upgrade\n // edip hp:ready'yi .then()'den ÖNCE dispatch ediyor — beklenirse @ready kaçırılır.\n listeners = [\n ['hp:ready', () => emit('ready')],\n ['hp:play', () => emit('play')],\n ['hp:pause', () => emit('pause')],\n ['hp:ended', () => emit('ended')],\n ['hp:error', (e) => emit('error', (e as CustomEvent<{ message: string }>).detail.message)],\n ['hp:qualitychange', (e) => emit('qualitychange', (e as CustomEvent<{ label: string }>).detail.label)],\n ['hp:ratechange', (e) => emit('ratechange', (e as CustomEvent<{ rate: number }>).detail.rate)],\n ['hp:adstart', (e) => emit('adstart', (e as CustomEvent<{ type: 'preroll' | 'midroll' | 'postroll' }>).detail.type)],\n ['hp:adend', (e) => emit('adend', (e as CustomEvent<{ type: 'preroll' | 'midroll' | 'postroll' }>).detail.type)],\n ['hp:aderror', (e) => emit('aderror', (e as CustomEvent<{ message: string }>).detail.message)],\n [\n 'hp:itemchange',\n (e) => {\n const detail = (e as CustomEvent<{ index: number; source: 'playlist' | 'story' }>).detail;\n emit('itemchange', detail.index, detail.source);\n },\n ],\n [\n 'hp:sticky',\n (e) => {\n const detail = (e as CustomEvent<{ sticky: boolean; corner?: StickyCorner }>).detail;\n emit('sticky', detail.sticky, detail.corner);\n },\n ],\n ['hp:sourcefallback', (e) => emit('sourcefallback', (e as HopePlayerEventMap['hp:sourcefallback']).detail)],\n ];\n for (const [name, handler] of listeners) el.addEventListener(name, handler);\n\n // .options için import'u bekle: element upgrade olmadan yazmak prototip accessor'ını kalıcı olarak maskeler.\n import('@hopeplayer/core').then(() => {\n if (cancelled || !elRef.value) return;\n elRef.value
|
|
1
|
+
{"version":3,"file":"hope-player-vue.js","sources":["../src/HopePlayer.vue"],"sourcesContent":["<script setup lang=\"ts\">\n// <hope-player> için ince Vue sarmalayıcı: prop'ları `.options`'a yazar, `hp:*` event'lerini emit'lere çevirir.\n// class/style Vue'nun fallthrough attribute'larıyla köke geçer. Core `onMounted` içinde dinamik import edilir —\n// statik import `HTMLElement` olmayan SSR'da (Nuxt) çöker.\nimport { ref, onMounted, onBeforeUnmount, onUpdated, watch, getCurrentInstance, camelize } from 'vue';\nimport type { HopePlayerElement as HopePlayerEl, HopePlayerEventMap, HopePlayerOptions, StickyCorner } from '@hopeplayer/core';\n\nconst props = defineProps<HopePlayerOptions>();\n\nconst emit = defineEmits<{\n ready: [];\n play: [];\n pause: [];\n ended: [];\n error: [message: string];\n qualitychange: [label: string];\n ratechange: [rate: number];\n adstart: [type: 'preroll' | 'midroll' | 'postroll'];\n adend: [type: 'preroll' | 'midroll' | 'postroll'];\n aderror: [message: string];\n itemchange: [index: number, source: 'playlist' | 'story'];\n sticky: [sticky: boolean, corner: StickyCorner | undefined];\n sourcefallback: [detail: HopePlayerEventMap['hp:sourcefallback']['detail']];\n}>();\n\nconst instance = getCurrentInstance();\n\n/**\n * Yalnızca gerçekten verilen prop'lar `.options`'a geçer. Vue, `boolean` tipli bir prop verilmediğinde onu `undefined`\n * değil `false` yapar (boolean casting) — `{ ...props }` doğrudan yazılsaydı varsayılanı açık / 'auto' olan seçenekler\n * kapanırdı: `tapToPlay: false` (videoya tıklamak oynatmıyordu), `cursorHideDelayMs: false` (imleç hiç gizlenmiyordu),\n * `qualityBadge: false`.\n */\nfunction passedOptions(): HopePlayerOptions {\n const raw = instance?.vnode.props ?? {};\n const passed = new Set(Object.keys(raw).map(camelize));\n return Object.fromEntries(Object.entries(props).filter(([key, value]) => passed.has(key) && value !== undefined)) as HopePlayerOptions;\n}\n\nconst elRef = ref<HopePlayerEl | null>(null);\nlet cancelled = false;\nlet listeners: Array<[keyof HopePlayerEventMap, EventListener]> = [];\n\nonMounted(() => {\n const el = elRef.value;\n if (!el) return;\n\n // Dinleyiciler import'u beklemeden eklenir: core yüklenince customElements.define() elementi senkron upgrade\n // edip hp:ready'yi .then()'den ÖNCE dispatch ediyor — beklenirse @ready kaçırılır.\n listeners = [\n ['hp:ready', () => emit('ready')],\n ['hp:play', () => emit('play')],\n ['hp:pause', () => emit('pause')],\n ['hp:ended', () => emit('ended')],\n ['hp:error', (e) => emit('error', (e as CustomEvent<{ message: string }>).detail.message)],\n ['hp:qualitychange', (e) => emit('qualitychange', (e as CustomEvent<{ label: string }>).detail.label)],\n ['hp:ratechange', (e) => emit('ratechange', (e as CustomEvent<{ rate: number }>).detail.rate)],\n ['hp:adstart', (e) => emit('adstart', (e as CustomEvent<{ type: 'preroll' | 'midroll' | 'postroll' }>).detail.type)],\n ['hp:adend', (e) => emit('adend', (e as CustomEvent<{ type: 'preroll' | 'midroll' | 'postroll' }>).detail.type)],\n ['hp:aderror', (e) => emit('aderror', (e as CustomEvent<{ message: string }>).detail.message)],\n [\n 'hp:itemchange',\n (e) => {\n const detail = (e as CustomEvent<{ index: number; source: 'playlist' | 'story' }>).detail;\n emit('itemchange', detail.index, detail.source);\n },\n ],\n [\n 'hp:sticky',\n (e) => {\n const detail = (e as CustomEvent<{ sticky: boolean; corner?: StickyCorner }>).detail;\n emit('sticky', detail.sticky, detail.corner);\n },\n ],\n ['hp:sourcefallback', (e) => emit('sourcefallback', (e as HopePlayerEventMap['hp:sourcefallback']).detail)],\n ];\n for (const [name, handler] of listeners) el.addEventListener(name, handler);\n\n // .options için import'u bekle: element upgrade olmadan yazmak prototip accessor'ını kalıcı olarak maskeler.\n import('@hopeplayer/core').then(() => {\n if (cancelled || !elRef.value) return;\n coreReady = true;\n sync();\n });\n});\n\nlet coreReady = false;\nlet lastOptions = '';\n\n/** Verilen prop'lar değiştiyse `.options`'a yazar (aynıysa yazmaz — player gereksiz yere yeniden kurulmasın). */\nfunction sync(): void {\n if (!coreReady || !elRef.value) return;\n const options = passedOptions();\n const json = JSON.stringify(options);\n if (json === lastOptions) return;\n lastOptions = json;\n elRef.value.options = options;\n}\n\n// Değer değişimi: tüm prop'lar tek bir string olarak izlenir (prop başına ayrı watcher gerekmez).\nwatch(() => JSON.stringify(props), sync);\n// Prop'un verilip verilmemesi: boolean casting yüzünden değer aynı kalabilir (yokken de false) — Vue yine de bileşeni\n// günceller (verilen prop'ların listesi değişti), o an tekrar bakılır.\nonUpdated(sync);\n\nonBeforeUnmount(() => {\n cancelled = true;\n const el = elRef.value;\n if (el) for (const [name, handler] of listeners) el.removeEventListener(name, handler);\n});\n\nfunction play(): Promise<void> {\n return elRef.value?.play() ?? Promise.resolve();\n}\n\nfunction pause(): void {\n elRef.value?.pause();\n}\n\nfunction getElement(): HopePlayerEl | null {\n return elRef.value;\n}\n\ndefineExpose({ play, pause, getElement });\n</script>\n\n<template>\n <hope-player ref=\"elRef\" />\n</template>\n"],"names":["props","__props","emit","__emit","instance","getCurrentInstance","passedOptions","raw","passed","camelize","key","value","elRef","ref","cancelled","listeners","onMounted","el","detail","name","handler","coreReady","sync","lastOptions","options","json","watch","onUpdated","onBeforeUnmount","play","_a","pause","getElement","__expose","_createElementBlock"],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hopeplayer/vue",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Thin Vue 3 wrapper around <hope-player> (@hopeplayer/core) — prop/event bridge only, no state duplication",
|
|
5
5
|
"keywords": ["vue", "vue3", "nuxt", "vue-component", "video-player", "video", "player", "html5-video", "hls", "m3u8", "web-component", "custom-element", "ima", "vast", "vmap", "prebid", "ads", "monetization", "chromecast", "airplay", "subtitles", "shadow-dom", "hopeplayer"],
|
|
6
6
|
"repository": {
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"typecheck": "vue-tsc -p tsconfig.json --noEmit"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@hopeplayer/core": "^1.
|
|
38
|
+
"@hopeplayer/core": "^1.3.0",
|
|
39
39
|
"vue": ">=3.3"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@hopeplayer/core": "^1.
|
|
42
|
+
"@hopeplayer/core": "^1.3.0",
|
|
43
43
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
44
44
|
"typescript": "^5.7.0",
|
|
45
45
|
"vite": "^6.0.0",
|