change docs

This commit is contained in:
Harvey Zack committed 2018-10-22 16:58:56 +08:00
1 parent 7eef8cd91e
commit 91b14db256
4 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -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}'.`
);
}