@theolive/player
Advanced tools
Comparing version 3.16.0 to 3.17.0-rc.1
@@ -6,3 +6,3 @@ { | ||
"types": "./types/THEOLive.d.ts", | ||
"version": "3.16.0", | ||
"version": "3.17.0-rc.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. | ||
@@ -228,2 +234,10 @@ */ | ||
/** | ||
* The player version. | ||
*/ | ||
get version(): string; | ||
/** | ||
* The current playback position of the media, in seconds. | ||
*/ | ||
get currentTime(): number; | ||
/** | ||
* | ||
@@ -246,3 +260,3 @@ * @param type | ||
*/ | ||
preloadChannels(channelIds: string[]): Promise<void>; | ||
preloadChannels(channelIds: string[]): Promise<Channel[]>; | ||
/** | ||
@@ -254,3 +268,3 @@ * Load a channel. | ||
*/ | ||
loadChannel(channelId: string, config?: LoadConfiguration): Promise<void>; | ||
loadChannel(channelId: string, config?: LoadConfiguration): Promise<Channel>; | ||
/** | ||
@@ -257,0 +271,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
7291346
26911
1
11