@theolive/player
Advanced tools
Comparing version 3.12.0-rc.1 to 3.12.0-rc.2
@@ -6,3 +6,3 @@ { | ||
"types": "./types/THEOLive.d.ts", | ||
"version": "3.12.0-rc.1", | ||
"version": "3.12.0-rc.2", | ||
"description": "The official THEOlive video player.", | ||
@@ -9,0 +9,0 @@ "author": "THEO Technologies", |
@@ -32,3 +32,5 @@ # THEOlivePlayer | ||
// THEOLive.sw.js needs to be served on the same path as this HTML page | ||
THEOLive.setupForIos("THEOLive.sw.js") | ||
if (THEOLive.requiresServiceWorker()) { | ||
navigator.serviceWorker.register("THEOLive.sw.js") | ||
} | ||
// Create the player. | ||
@@ -35,0 +37,0 @@ const player = new THEOLive.Player(document.getElementById('player')); |
export { Player } from "./Player"; | ||
export * from './Event'; | ||
export declare function requiresServiceWorker(): boolean; | ||
export declare function setupForIos(serviceWorkerFileName: string): boolean; |
@@ -8,2 +8,1 @@ import { Player as PlayerInternal } from "./Player"; | ||
export declare function requiresServiceWorker(): boolean; | ||
export declare function setupForIos(serviceWorkerFileName: string): Promise<void>; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47
6995662
25669