Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export interface Web265JsExtraConfig {
coreProbePart?: number
ignoreAudio?: 0 | 1
probeSize?: number
autoPlay?: boolean
}

export interface Web265JsConfig {
Expand Down Expand Up @@ -66,6 +67,7 @@ interface New265WebJs {
onCloseFullScreen(): void
do(): void
pause(): void
play(): void
isPlaying(): boolean
setRenderScreen(state: boolean): void
seek(pts: number): void
Expand Down
12 changes: 0 additions & 12 deletions index-debug.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,19 +175,11 @@
console.log(play_url);

/*
*
*
* 1. create player object
*
*
*/
playerObj = window.new265webjs(play_url, config);
/*
*
*
* 2. bind events
*
*
*/
playerObj.onSeekStart = (pts) => {
loggerObj.scrollNewest("\r\nonSeekStart:" + pts);
Expand Down Expand Up @@ -288,11 +280,7 @@
};

/*
*
*
* 3. install player
*
*
*/
playerObj.do();
} // end func installPlayer
Expand Down