diff --git a/docs/config.js b/docs/config.js index dcad8c4..d62ffd5 100644 --- a/docs/config.js +++ b/docs/config.js @@ -250,7 +250,7 @@ function dplayer9 () { } function dplayer10 () { - window.dp9 = new DPlayer({ + window.dp10 = new DPlayer({ container: document.getElementById('dplayer10'), video: { url: 'https://qq.webrtc.win/tv/Pear-Demo-Yosemite_National_Park.mp4', diff --git a/docs/zh-Hans/README.md b/docs/zh-Hans/README.md index 7993497..619bb0a 100644 --- a/docs/zh-Hans/README.md +++ b/docs/zh-Hans/README.md @@ -579,7 +579,7 @@ const dp = new DPlayer({ ### Work with other HLS library -DPlayer 可以与任何 HLS 库一起使用 +DPlayer 可以通过 `customType` 参数与任何 HLS 库一起使用