Skip to content

Commit

Permalink
fix pause->play的时候,loading 状态异常
Browse files Browse the repository at this point in the history
  • Loading branch information
bosscheng committed Nov 3, 2024
1 parent 90953d1 commit 3a318b0
Show file tree
Hide file tree
Showing 9 changed files with 847 additions and 2,690 deletions.
1,299 changes: 40 additions & 1,259 deletions demo/public/decoder.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/public/decoder.js.map

Large diffs are not rendered by default.

Binary file modified demo/public/dist.zip
Binary file not shown.
2,226 changes: 801 additions & 1,425 deletions demo/public/jessibuca.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/public/jessibuca.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/decoder.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/jessibuca.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jessibuca",
"version": "3.3.14",
"version": "3.3.15",
"scripts": {
"build": "npx cross-env NODE_ENV=production rollup -c",
"build:wasm": "python wasm/make.py --wasm && npm run build && npm run build:demo",
Expand Down
2 changes: 1 addition & 1 deletion src/player/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ export default class Player extends Emitter {
if (!url && !this._opt.url) {
return reject();
}

this._closed = false;
this.loading = true;
this.playing = false;
this._times.playInitStart = now();
Expand Down

0 comments on commit 3a318b0

Please sign in to comment.