Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gemxx committed Dec 23, 2024
1 parent f5be929 commit 1af3378
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/xgplayer-flv/src/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class FlvPlugin extends BasePlugin {
/** @type {boolean} */
get softDecode () {
const mediaType = this.player?.config?.mediaType
return !!mediaType && mediaType !== 'video' && mediaType !== 'audio' && mediaType !== 'offscreen-video'
return !!mediaType && mediaType !== 'video' && mediaType !== 'audio' && mediaType !== 'offscreen-video'
}

get loader () {
Expand Down
4 changes: 2 additions & 2 deletions packages/xgplayer-hls/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xgplayer-hls",
"version": "3.0.21-rc.8",
"version": "3.0.21-beta.0",
"main": "dist/index.min.js",
"module": "es/index.js",
"typings": "es/index.d.ts",
Expand All @@ -15,7 +15,7 @@
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public",
"tag": "rc"
"tag": "beta"
},
"license": "MIT",
"unpkgFiles": [
Expand Down

0 comments on commit 1af3378

Please sign in to comment.