Skip to content

Commit

Permalink
chore: release v1.29.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tsukumijima committed May 23, 2023
1 parent 4ad130a commit 4f49bb5
Show file tree
Hide file tree
Showing 75 changed files with 45 additions and 44 deletions.
4 changes: 2 additions & 2 deletions dist/DPlayer.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/DPlayer.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/d.ts/ts/api.d.ts → dist/d.ts/api.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as DPlayerType from '../types/DPlayer';
import * as DPlayerType from './types';
declare const defaultApiBackend: DPlayerType.APIBackend;
export default defaultApiBackend;
//# sourceMappingURL=api.d.ts.map
1 change: 1 addition & 0 deletions dist/d.ts/api.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/d.ts/bar.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/d.ts/bezel.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/d.ts/comment.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/d.ts/contextmenu.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/d.ts/controller.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/d.ts/ts/danmaku.d.ts → dist/d.ts/danmaku.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DPlayer from './player';
import Events from './events';
import * as DPlayerType from '../types/DPlayer';
import * as DPlayerType from './types';
interface DanmakuOptions {
player: DPlayer;
container: HTMLElement;
Expand Down
1 change: 1 addition & 0 deletions dist/d.ts/danmaku.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions dist/d.ts/ts/events.d.ts → dist/d.ts/events.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import * as DPlayerType from '../types/DPlayer';
import * as DPlayerType from './types';
declare class Events {
events: {
[key: string]: ((info: any) => void)[];
[key: string]: ((info: Event | any) => void)[];
};
videoEvents: DPlayerType.VideoEvents[];
playerEvents: DPlayerType.PlayerEvents[];
constructor();
on(name: DPlayerType.Events, callback: (info?: any) => void): void;
trigger(name: DPlayerType.Events, info?: any): void;
on(name: DPlayerType.Events, callback: (info?: Event | any) => void): void;
trigger(name: DPlayerType.Events, info?: Event | any): void;
type(name: DPlayerType.Events): 'player' | 'video' | null;
}
export default Events;
Expand Down
1 change: 1 addition & 0 deletions dist/d.ts/events.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/d.ts/ts/fullscreen.d.ts → dist/d.ts/fullscreen.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import DPlayer from './player';
import * as DPlayerType from '../types/DPlayer';
import * as DPlayerType from './types';
declare class FullScreen {
player: DPlayer;
lastScrollPosition: {
Expand Down
1 change: 1 addition & 0 deletions dist/d.ts/fullscreen.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/d.ts/hotkey.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/d.ts/i18n.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/d.ts/icons.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/d.ts/ts/index.d.ts → dist/d.ts/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '../css/index.scss';
import DPlayer from './player';
export default DPlayer;
export * as DPlayerType from './types';
//# sourceMappingURL=index.d.ts.map
1 change: 1 addition & 0 deletions dist/d.ts/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/d.ts/info-panel.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/d.ts/ts/options.d.ts → dist/d.ts/options.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as DPlayerType from '../types/DPlayer';
import * as DPlayerType from './types';
declare const _default: (options: DPlayerType.Options) => DPlayerType.OptionsInternal;
export default _default;
//# sourceMappingURL=options.d.ts.map
1 change: 1 addition & 0 deletions dist/d.ts/options.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/d.ts/ts/player.d.ts → dist/d.ts/player.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Comment from './comment';
import HotKey from './hotkey';
import ContextMenu from './contextmenu';
import InfoPanel from './info-panel';
import * as DPlayerType from '../types/DPlayer';
import * as DPlayerType from './types';
declare class DPlayer {
bar: Bar;
bezel: Bezel;
Expand Down Expand Up @@ -82,7 +82,7 @@ declare class DPlayer {
/**
* attach event
*/
on(name: DPlayerType.Events, callback: (info?: any) => void): void;
on(name: DPlayerType.Events, callback: (info?: Event | any) => void): void;
/**
* Switch to a new video
*
Expand All @@ -97,7 +97,7 @@ declare class DPlayer {
initMSE(video: HTMLVideoElement, type: DPlayerType.VideoType | string): void;
initVideo(video: HTMLVideoElement, type: DPlayerType.VideoType | string): void;
switchQuality(index: number): void;
notice(text: string, time?: number, opacity?: number): void;
notice(text: string, time?: number, opacity?: number, color?: string): void;
resize(): void;
speed(rate: number): void;
destroy(): void;
Expand Down
1 change: 1 addition & 0 deletions dist/d.ts/player.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/d.ts/setting.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/d.ts/ts/subtitle.d.ts → dist/d.ts/subtitle.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Events from './events';
import * as DPlayerType from '../types/DPlayer';
import * as DPlayerType from './types';
declare class Subtitle {
container: HTMLElement;
video: HTMLVideoElement;
Expand Down
1 change: 1 addition & 0 deletions dist/d.ts/subtitle.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/d.ts/ts/template.d.ts → dist/d.ts/template.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as DPlayerType from '../types/DPlayer';
import * as DPlayerType from './types';
declare class Template {
container: HTMLElement;
options: DPlayerType.OptionsInternal;
Expand Down
1 change: 1 addition & 0 deletions dist/d.ts/template.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/d.ts/thumbnails.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/d.ts/timer.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion dist/d.ts/ts/api.d.ts.map

This file was deleted.

Loading

0 comments on commit 4f49bb5

Please sign in to comment.