mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 10:56:15 -08:00
fix: add missing newline at end of multiple package.json files and README.md
This commit is contained in:
1 parent
05ce97c6fd
commit
46ad399b2f
23 files changed
+22
-24
No files matched your search
@@ -144,7 +144,7 @@ We accept donations through these channels:
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
[](https://dartnode.com "Powered by DartNode - Free VPS for Open Source")
|
[](https://dartnode.com 'Powered by DartNode - Free VPS for Open Source')
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -59,4 +59,4 @@
|
|||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 20.0.0"
|
"node": ">= 20.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -27,4 +27,4 @@
|
|||||||
"video",
|
"video",
|
||||||
"player"
|
"player"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -27,4 +27,4 @@
|
|||||||
"video",
|
"video",
|
||||||
"player"
|
"player"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -27,4 +27,4 @@
|
|||||||
"video",
|
"video",
|
||||||
"player"
|
"player"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -27,4 +27,4 @@
|
|||||||
"video",
|
"video",
|
||||||
"player"
|
"player"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -12,7 +12,6 @@ function create({ url, width, number }, callback) {
|
|||||||
canvas.width = width * 10;
|
canvas.width = width * 10;
|
||||||
canvas.height = height * Math.ceil(number / 10);
|
canvas.height = height * Math.ceil(number / 10);
|
||||||
|
|
||||||
let loadedCount = 0;
|
|
||||||
let blobUrl = null;
|
let blobUrl = null;
|
||||||
|
|
||||||
function seekAndDraw(index) {
|
function seekAndDraw(index) {
|
||||||
@@ -31,7 +30,6 @@ function create({ url, width, number }, callback) {
|
|||||||
|
|
||||||
video.onseeked = () => {
|
video.onseeked = () => {
|
||||||
ctx.drawImage(video, (index % 10) * width, Math.floor(index / 10) * height, width, height);
|
ctx.drawImage(video, (index % 10) * width, Math.floor(index / 10) * height, width, height);
|
||||||
loadedCount++;
|
|
||||||
seekAndDraw(index + 1);
|
seekAndDraw(index + 1);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,4 +27,4 @@
|
|||||||
"video",
|
"video",
|
||||||
"player"
|
"player"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -27,4 +27,4 @@
|
|||||||
"video",
|
"video",
|
||||||
"player"
|
"player"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -35,4 +35,4 @@
|
|||||||
"@tensorflow/tfjs-converter": "^4.21.0",
|
"@tensorflow/tfjs-converter": "^4.21.0",
|
||||||
"@tensorflow/tfjs-core": "^4.21.0"
|
"@tensorflow/tfjs-core": "^4.21.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -32,7 +32,7 @@ export default function artplayerPluginDanmukuMask(option = {}) {
|
|||||||
try {
|
try {
|
||||||
await tf.setBackend('webgl');
|
await tf.setBackend('webgl');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.warn('WebGL backend not available, falling back to CPU');
|
console.warn('WebGL backend not available, falling back to CPU', error.message);
|
||||||
await tf.setBackend('cpu');
|
await tf.setBackend('cpu');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,4 +21,4 @@
|
|||||||
"video",
|
"video",
|
||||||
"player"
|
"player"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -27,4 +27,4 @@
|
|||||||
"video",
|
"video",
|
||||||
"player"
|
"player"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -27,4 +27,4 @@
|
|||||||
"video",
|
"video",
|
||||||
"player"
|
"player"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -27,4 +27,4 @@
|
|||||||
"video",
|
"video",
|
||||||
"player"
|
"player"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -33,4 +33,4 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@hrgui/libass-wasm-ts": "^1.0.3"
|
"@hrgui/libass-wasm-ts": "^1.0.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -27,4 +27,4 @@
|
|||||||
"video",
|
"video",
|
||||||
"player"
|
"player"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -30,4 +30,4 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@glomex/vast-ima-player": "^1.21.0"
|
"@glomex/vast-ima-player": "^1.21.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -27,4 +27,4 @@
|
|||||||
"video",
|
"video",
|
||||||
"player"
|
"player"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -27,4 +27,4 @@
|
|||||||
"video",
|
"video",
|
||||||
"player"
|
"player"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -26,4 +26,4 @@
|
|||||||
"video",
|
"video",
|
||||||
"player"
|
"player"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -13,4 +13,4 @@
|
|||||||
"vitepress-plugin-search": "1.0.4-alpha.22",
|
"vitepress-plugin-search": "1.0.4-alpha.22",
|
||||||
"vue": "3.5.13"
|
"vue": "3.5.13"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -24,4 +24,4 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"option-validator": "^2.0.6"
|
"option-validator": "^2.0.6"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user