Refactor Artplayer class to update video URLs with query parameters

This commit is contained in:
Harvey Zack committed 2024-10-21 11:49:14 +08:00
1 parent 945ff841d5
commit 395747f88f
7 files changed
+52 -60

No files matched your search

+2 -2
View File
@@ -116,11 +116,11 @@ var art = new Artplayer({
{
default: true,
html: 'SD 480P',
url: '/assets/sample/video.mp4',
url: '/assets/sample/video.mp4?q=480',
},
{
html: 'HD 720P',
url: '/assets/sample/video.mp4',
url: '/assets/sample/video.mp4?q=720',
},
],
thumbnails: {