ogplayer 1.0.3 → 1.1.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/README.md +3 -3
- package/dist/core/license.d.ts +4 -4
- package/dist/core/player.d.ts +29 -1
- package/dist/core/session-tracker.d.ts +28 -0
- package/dist/core/token-fetch.d.ts +15 -0
- package/dist/core/types.d.ts +62 -3
- package/dist/core/vertical-feed.d.ts +12 -1
- package/dist/ogplayer.global.js +28 -29
- package/dist/ogplayer.js +28 -29
- package/dist/ui/og-player.d.ts +3 -1
- package/package.json +6 -6
package/dist/ui/og-player.d.ts
CHANGED
|
@@ -119,6 +119,8 @@ export declare class OGPlayerElement extends HTMLElement {
|
|
|
119
119
|
private root;
|
|
120
120
|
private controlsVisible;
|
|
121
121
|
private hideTimer;
|
|
122
|
+
/** Where the last deliberate click-to-hide happened; gates hover-raise. */
|
|
123
|
+
private hidePoint;
|
|
122
124
|
private bufferingTimer;
|
|
123
125
|
private scrubbing;
|
|
124
126
|
private openMenu;
|
|
@@ -165,7 +167,7 @@ export declare class OGPlayerElement extends HTMLElement {
|
|
|
165
167
|
private onState;
|
|
166
168
|
/** Title + content ratings: once per load, at content start, timed fade. */
|
|
167
169
|
private maybeShowOnceOverlays;
|
|
168
|
-
private
|
|
170
|
+
private ratingNode;
|
|
169
171
|
/** While the rating row is shown, the top-end button row drops below it
|
|
170
172
|
* and top-row overlays clear both — the Android/iOS choreography. */
|
|
171
173
|
private setRatingRow;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ogplayer",
|
|
3
|
-
"version": "1.0
|
|
4
|
-
"description": "OGPlayer web SDK — one video player API across Android, iOS and
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "OGPlayer web SDK — one video player API across Android, iOS, web and React Native.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/ogplayer.js",
|
|
7
7
|
"module": "./dist/ogplayer.js",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"typescript": "^5.5.0"
|
|
33
33
|
},
|
|
34
34
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
35
|
-
"homepage": "https://ogplayer.tv",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
35
|
+
"homepage": "https://ogplayer.tv/docs/getting-started/web/",
|
|
36
|
+
"bugs": {
|
|
37
|
+
"url": "https://github.com/ogplayer-sdk/ogplayer-web-demos/issues",
|
|
38
|
+
"email": "support@ogplayer.tv"
|
|
39
39
|
},
|
|
40
40
|
"keywords": [
|
|
41
41
|
"video",
|