release: xgplayer-hls@3.0.21-beta.0

This commit is contained in:
gemstone 2024-12-02 21:49:36 +08:00
parent f818a203bf
commit 8797d5b138
3 changed files with 16 additions and 4 deletions

View File

@ -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 () {

View File

@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false

View File

@ -1,6 +1,6 @@
{
"name": "xgplayer-hls",
"version": "3.0.21-rc.7",
"version": "3.0.21-beta.0",
"main": "dist/index.min.js",
"module": "es/index.js",
"typings": "es/index.d.ts",
@ -15,7 +15,7 @@
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public",
"tag": "rc"
"tag": "beta"
},
"license": "MIT",
"unpkgFiles": [
@ -27,7 +27,7 @@
"xgplayer-streaming-shared": "3.0.21-rc.7"
},
"peerDependencies": {
"xgplayer": "3.0.21-rc.7",
"xgplayer": "3.0.21-beta.1",
"core-js": ">=3.12.1"
}
}