Skip to content

Commit

Permalink
202407271822
Browse files Browse the repository at this point in the history
  • Loading branch information
Remote committed Jul 27, 2024
1 parent 91f42e8 commit 9517b0a
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@

## 授權 / License

此源代碼項目採用 [GPL-3.0](https://github.com/pardnchiu/markdown-editor/blob/main/LICENSE) 許可證授權。<br>
This source code project is licensed under the [GPL-3.0](https://github.com/pardnchiu/markdown-editor/blob/main/LICENSE) license.
此源代碼項目採用 [GPL-3.0](https://github.com/pardnchiu/PDPlayerKit/blob/main/LICENSE) 許可證授權。<br>
This source code project is licensed under the [GPL-3.0](https://github.com/pardnchiu/PDPlayerKit/blob/main/LICENSE) license.

## 下載 / Download

Expand All @@ -64,13 +64,10 @@ npm i pdplayerkit
import { player } from "https://cdn.jsdelivr.net/gh/pardnchiu/PDPlayerKit@[VERSION]/dist/PDPlayerKit.js";

const elm = new player({
/* Youtube 影片ID 或 其他影片來源 */
videoId: "UmR9zlez4OE"
src: "/img/sample.mp4",
/* 預設參數 */
volume: 100, //預設音量
mute: false, //預設靜音
/* 控制器 */
videoId: "" // YouTube 視頻 ID
src: "/static/image/sample.mp4", // 影片連結(適用於 HTML5 影片)
volume: 100, // 預設音量
mute: false, // 預設靜音
panel: [
"play", //播放鍵
"timebar", //進度條
Expand Down

0 comments on commit 9517b0a

Please sign in to comment.