@theolive/player
Advanced tools
Comparing version 3.16.0 to 3.17.0-pt.1
@@ -6,3 +6,3 @@ { | ||
"types": "./types/THEOLive.d.ts", | ||
"version": "3.16.0", | ||
"version": "3.17.0-pt.1", | ||
"description": "The official THEOlive video player.", | ||
@@ -9,0 +9,0 @@ "author": "THEO Technologies", |
@@ -5,2 +5,8 @@ import { Event } from "./Event"; | ||
/** | ||
* A TheoLive channel representation | ||
*/ | ||
export interface Channel { | ||
name: string; | ||
} | ||
/** | ||
* This event indicates the player is no longer paused, fired when play() is called or autoplay is enabled. | ||
@@ -143,6 +149,2 @@ */ | ||
readonly license?: string; | ||
/** | ||
* This flag enables new experimental analytics. False by default. | ||
*/ | ||
readonly experimentalAnalyticsEnabled?: boolean; | ||
} | ||
@@ -229,2 +231,10 @@ export type AdIntegrationKind = 'google-ima'; | ||
/** | ||
* The player version. | ||
*/ | ||
get version(): string; | ||
/** | ||
* The current playback position of the media, in seconds. | ||
*/ | ||
get currentTime(): number; | ||
/** | ||
* | ||
@@ -247,3 +257,3 @@ * @param type | ||
*/ | ||
preloadChannels(channelIds: string[]): Promise<void>; | ||
preloadChannels(channelIds: string[]): Promise<Channel[]>; | ||
/** | ||
@@ -255,3 +265,3 @@ * Load a channel. | ||
*/ | ||
loadChannel(channelId: string, config?: LoadConfiguration): Promise<void>; | ||
loadChannel(channelId: string, config?: LoadConfiguration): Promise<Channel>; | ||
/** | ||
@@ -258,0 +268,0 @@ * Load the given HLS playlist. |
@@ -21,2 +21,3 @@ import { Event, ReadonlyEventDispatcher } from "./Event"; | ||
readonly qualities: ReadonlyArray<Quality>; | ||
targetQualities: ReadonlyArray<Quality>; | ||
} | ||
@@ -23,0 +24,0 @@ export interface Quality { |
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
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
7290572
26904
1
11