mirror of
https://github.com/bytedance/xgplayer.git
synced 2025-04-05 03:05:02 +08:00
release: xgplayer-hls@3.0.21-beta.0
This commit is contained in:
parent
f818a203bf
commit
8797d5b138
@ -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 () {
|
||||
|
12
packages/xgplayer-hls/.editorconfig
Normal file
12
packages/xgplayer-hls/.editorconfig
Normal 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
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user