ogplayer 0.2.0 → 0.2.1

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.
@@ -83,6 +83,12 @@ export interface OGUIConfig {
83
83
  * The retry callback runs player.retry() plus the SDK's housekeeping.
84
84
  */
85
85
  renderErrorOverlay?: (error: OGPlayerError, retry: () => void) => HTMLElement;
86
+ /** Extra inline CSS for the error-overlay message text (same contract as
87
+ * `titleStyle`), e.g. "font-family:Georgia,serif;font-size:16px". */
88
+ errorTextStyle?: string;
89
+ /** Extra inline CSS for the error overlay's Retry button, e.g.
90
+ * "background:#3D6EF5;color:#fff;font-family:Georgia,serif". */
91
+ retryButtonStyle?: string;
86
92
  }
87
93
  export declare const defaultUIConfig: OGUIConfig;
88
94
  /** Every control flag off — headless chrome in one call (mobile parity:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ogplayer",
3
- "version": "0.2.0",
4
- "description": "OGPlayer web SDK one video player API across Android, iOS and the web.",
3
+ "version": "0.2.1",
4
+ "description": "OGPlayer web SDK \u2014 one video player API across Android, iOS and the web.",
5
5
  "type": "module",
6
6
  "main": "./dist/ogplayer.js",
7
7
  "module": "./dist/ogplayer.js",
@@ -49,4 +49,4 @@
49
49
  "web-component"
50
50
  ],
51
51
  "author": "OGPlayer (Inverse DOO) <hello@ogplayer.tv>"
52
- }
52
+ }