mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-10 21:06:15 -08:00
Refactor code structure for improved readability and maintainability
This commit is contained in:
1 parent
9f5070b523
commit
dc850dd2d2
22 files changed
+2
-1026
No files matched your search
@@ -1,18 +0,0 @@
|
||||
// https://github.com/sb2702/websr
|
||||
// npm i artplayer-plugin-websr
|
||||
// import artplayerPluginWebsr from 'artplayer-plugin-websr';
|
||||
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "/assets/sample/video3.mp4",
|
||||
fullscreenWeb: true,
|
||||
plugins: [
|
||||
artplayerPluginWebsr({
|
||||
videoScale: 2,
|
||||
networkSize: 'medium',
|
||||
weightsBaseUrl: '/assets/websr/weights',
|
||||
workerUrl: '/assets/websr/worker/main.js',
|
||||
compare: true,
|
||||
}),
|
||||
],
|
||||
});
|
||||
Reference in new issue
Block a user