Skip to content

Commit 96135f5

Browse files
committed
remove misleading plalist id property
1 parent 54dcc30 commit 96135f5

File tree

7 files changed

+2
-11
lines changed

7 files changed

+2
-11
lines changed

dist/index.js

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.umd.js

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/library/sound.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export interface IOnAnyAction {
1515
export interface ISoundAttributes {
1616
sources?: (ISoundSource | string)[] | string;
1717
id: number;
18-
playlistId?: number | null;
1918
loop?: boolean;
2019
audioBuffer?: AudioBuffer | null;
2120
arrayBuffer?: ArrayBuffer | null;
@@ -50,7 +49,6 @@ export interface IOptions {
5049
export declare class PlayerSound implements ISound {
5150
sources: (ISoundSource | string)[];
5251
id: number;
53-
playlistId: number | null;
5452
loop: boolean;
5553
url: string;
5654
sourceNode: AudioBufferSourceNode | null;

examples/simple-player/client/src/bootstrap.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ let playerUI = new PlayerUI(player);
1818
let firstSoundAttributes: ISoundAttributes = {
1919
sources: '1314412&format=mp31',
2020
id: 1314412,
21-
playlistId: 0,
2221
onLoading: (loadingProgress, maximumValue, currentValue) => {
2322
console.log('loading: ', loadingProgress, maximumValue, currentValue);
2423
playerUI.changeLoadingProgress(loadingProgress);
@@ -56,7 +55,6 @@ console.log(firstSound);
5655
let secondSoundAttributes: ISoundAttributes = {
5756
sources: '1214935&format=ogg1',
5857
id: 1214935,
59-
playlistId: 0,
6058
onLoading: (loadingProgress, maximumValue, currentValue) => {
6159
console.log('loading: ', loadingProgress, maximumValue, currentValue);
6260
playerUI.changeLoadingProgress(loadingProgress);

src/library/sound.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export interface ISoundAttributes {
2222
// and / or audioBuffer in which case the source url is not needed
2323
sources?: (ISoundSource | string)[] | string;
2424
id: number;
25-
playlistId?: number | null;
2625
loop?: boolean;
2726
audioBuffer?: AudioBuffer | null;
2827
arrayBuffer?: ArrayBuffer | null;
@@ -64,7 +63,6 @@ export class PlayerSound implements ISound {
6463

6564
public sources: (ISoundSource | string)[];
6665
public id: number;
67-
public playlistId: number | null;
6866
public loop: boolean;
6967
public url: string;
7068

@@ -103,7 +101,6 @@ export class PlayerSound implements ISound {
103101
}
104102

105103
this.id = soundAttributes.id;
106-
this.playlistId = soundAttributes.playlistId || null;
107104
this.loop = soundAttributes.loop || false;
108105

109106
// the user can set the duration manually

0 commit comments

Comments
 (0)