mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 20:21:20 -08:00
change docs
This commit is contained in:
1 parent
7eef8cd91e
commit
91b14db256
4 files changed
+4
-3
No files matched your search
+1
-1
@@ -81,7 +81,7 @@ export default class Subtitle {
|
||||
const ext = getExt(url);
|
||||
errorHandle(
|
||||
ext === 'vtt' || ext === 'srt',
|
||||
`'url' option require 'vtt' or 'srt' format, but got '${ext}'.`
|
||||
`'subtitle.url' option require 'vtt' or 'srt' format, but got '${ext}'.`
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user