Skip to content

Commit f46a4af

Browse files
committed
Merge branch 'feat_mseinworker_mms' of https://github.com/bytedance/xgplayer into feat_mseinworker_mms
2 parents bc0637d + 2c50a59 commit f46a4af

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

packages/xgplayer-flv/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "xgplayer-flv",
3-
"version": "3.0.23-beta.15",
3+
"version": "3.0.23-beta.16",
44
"main": "dist/index.min.js",
55
"module": "es/index.js",
66
"typings": "es/index.d.ts",
@@ -15,19 +15,19 @@
1515
"publishConfig": {
1616
"registry": "https://registry.npmjs.org/",
1717
"access": "public",
18-
"tag": "latest"
18+
"tag": "beta"
1919
},
2020
"license": "MIT",
2121
"unpkgFiles": [
2222
"dist"
2323
],
2424
"dependencies": {
2525
"eventemitter3": "^4.0.7",
26-
"xgplayer-transmuxer": "3.0.22",
26+
"xgplayer-transmuxer": "3.0.23-beta.0",
2727
"xgplayer-streaming-shared": "3.0.22"
2828
},
2929
"peerDependencies": {
30-
"xgplayer": ">=3.0.1",
30+
"xgplayer": "3.0.22",
3131
"core-js": ">=3.12.1"
3232
}
3333
}

packages/xgplayer-transmuxer/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "xgplayer-transmuxer",
3-
"version": "3.0.22",
3+
"version": "3.0.23-beta.0",
44
"main": "dist/index.min.js",
55
"module": "es/index.js",
66
"typings": "es/index.d.ts",
@@ -15,7 +15,7 @@
1515
"publishConfig": {
1616
"registry": "https://registry.npmjs.org/",
1717
"access": "public",
18-
"tag": "latest"
18+
"tag": "beta"
1919
},
2020
"license": "MIT",
2121
"unpkgFiles": [

packages/xgplayer/src/plugins/progress/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ class Progress extends Plugin {
623623
offset = offset > rWidth ? rWidth : (offset < 0 ? 0 : offset)
624624
let percent = offset / rWidth
625625
percent = percent < 0 ? 0 : (percent > 1 ? 1 : percent)
626-
if(Number.isNaN(percent)){
626+
if (Number.isNaN(percent)){
627627
percent = this.player.currentTime / this.offsetDuration
628628
}
629629
const currentTime = parseInt(percent * this.offsetDuration * 1000, 10) / 1000

0 commit comments

Comments
 (0)