@moviie/player-sdk 0.6.0 → 0.7.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.
- package/dist/index.d.cts +20 -0
- package/dist/index.d.ts +20 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -85,6 +85,20 @@ interface MoviieCTA {
|
|
|
85
85
|
size: 'sm' | 'md' | 'lg';
|
|
86
86
|
passUrlParams: boolean;
|
|
87
87
|
}
|
|
88
|
+
type DrmWatermarkStyle = {
|
|
89
|
+
fontFamily: 'Arial' | 'Inter' | 'Raleway' | 'Roboto' | 'Ubuntu';
|
|
90
|
+
/** Hex #RRGGBB. */
|
|
91
|
+
backgroundColor: string;
|
|
92
|
+
/** Hex #RRGGBB. */
|
|
93
|
+
textColor: string;
|
|
94
|
+
animationSpeed: 'slow' | 'normal' | 'fast';
|
|
95
|
+
};
|
|
96
|
+
interface DrmWatermark {
|
|
97
|
+
/** 1–3 sanitized viewer lines (top→bottom). Present only for a triggered playback. */
|
|
98
|
+
lines: string[];
|
|
99
|
+
/** Resolved style: per-video override → org default → built-in DS default. */
|
|
100
|
+
style: DrmWatermarkStyle;
|
|
101
|
+
}
|
|
88
102
|
interface MoviiePlaybackControls {
|
|
89
103
|
autoplay: boolean;
|
|
90
104
|
preload: boolean;
|
|
@@ -151,6 +165,12 @@ interface MoviiePlaybackData {
|
|
|
151
165
|
telemetry: {
|
|
152
166
|
bootstrapUrl: string;
|
|
153
167
|
};
|
|
168
|
+
/**
|
|
169
|
+
* Feature 196 — social DRM watermark. Present only for a triggered private
|
|
170
|
+
* playback (the token carried viewer `drm.lines`); omitted otherwise so the
|
|
171
|
+
* native player mounts no overlay.
|
|
172
|
+
*/
|
|
173
|
+
drm?: DrmWatermark;
|
|
154
174
|
/**
|
|
155
175
|
* Feature 185 — native pixel emission (Meta Conversions API only; the native
|
|
156
176
|
* player has no browser tags). Present only when a Meta pixel has the CAPI
|
package/dist/index.d.ts
CHANGED
|
@@ -85,6 +85,20 @@ interface MoviieCTA {
|
|
|
85
85
|
size: 'sm' | 'md' | 'lg';
|
|
86
86
|
passUrlParams: boolean;
|
|
87
87
|
}
|
|
88
|
+
type DrmWatermarkStyle = {
|
|
89
|
+
fontFamily: 'Arial' | 'Inter' | 'Raleway' | 'Roboto' | 'Ubuntu';
|
|
90
|
+
/** Hex #RRGGBB. */
|
|
91
|
+
backgroundColor: string;
|
|
92
|
+
/** Hex #RRGGBB. */
|
|
93
|
+
textColor: string;
|
|
94
|
+
animationSpeed: 'slow' | 'normal' | 'fast';
|
|
95
|
+
};
|
|
96
|
+
interface DrmWatermark {
|
|
97
|
+
/** 1–3 sanitized viewer lines (top→bottom). Present only for a triggered playback. */
|
|
98
|
+
lines: string[];
|
|
99
|
+
/** Resolved style: per-video override → org default → built-in DS default. */
|
|
100
|
+
style: DrmWatermarkStyle;
|
|
101
|
+
}
|
|
88
102
|
interface MoviiePlaybackControls {
|
|
89
103
|
autoplay: boolean;
|
|
90
104
|
preload: boolean;
|
|
@@ -151,6 +165,12 @@ interface MoviiePlaybackData {
|
|
|
151
165
|
telemetry: {
|
|
152
166
|
bootstrapUrl: string;
|
|
153
167
|
};
|
|
168
|
+
/**
|
|
169
|
+
* Feature 196 — social DRM watermark. Present only for a triggered private
|
|
170
|
+
* playback (the token carried viewer `drm.lines`); omitted otherwise so the
|
|
171
|
+
* native player mounts no overlay.
|
|
172
|
+
*/
|
|
173
|
+
drm?: DrmWatermark;
|
|
154
174
|
/**
|
|
155
175
|
* Feature 185 — native pixel emission (Meta Conversions API only; the native
|
|
156
176
|
* player has no browser tags). Present only when a Meta pixel has the CAPI
|