A simple, accessible and customizable HTML5, YouTube and Vimeo media player. Latest version: 3.7.8, last published: 2 years ago. Start using plyr in your project by running `npm i plyr`. There are 252 other projects in the npm registry using plyr.
Installation npm i plyr ngx-plyr TypeScript typings As long as original plyr does not have yet (sigh) typings, this project has its own at typings/plyr/index.d.ts. If you have typings issues please refer to the issue #7 for more info. ...
可以通过 npm 或直接下载文件来安装 Plyr.js。 使用npm 安装: 代码语言:txt 复制 npm install plyr 手动下载:从官方网站下载最新版本的 Plyr.js 及其样式文件。 引入文件 在你的 HTML 文件中引入 Plyr.js 和相应的 CSS 文件。 代码语言:txt 复制
master Breadcrumbs plyr/ .npmignoreLatest commit HistoryHistory File metadata and controls Code Blame 12 lines (12 loc) · 135 Bytes Raw 1 2 3 4 5 6 7 8 9 10 11 12 demo .github .vscode *.code-workspace build.json credentials.json deploy.json yarn.lock package-lock.json *.mp4 *....
npm install plyr # 或者 yarn add plyr 通过CDN引入: html <link rel="stylesheet" href="https://cdn.plyr.io/3.x.x/plyr.css" /> <script src="https://cdn.plyr.io/3.x.x/plyr.js"></script> 配置 在HTML中添加视频或音频标签,并指定plyr类或使用JavaScript进行初始...
More info is on npm and GitHubQuick setupHere's a quick run through on getting up and running. There's also a demo on Codepen.HTMLPlyr extends upon the standard HTML5 markup so that's all you need for those types. More info on advanced HTML markup can be found under initialising....
More info is on npm and GitHubQuick setupHere's a quick run through on getting up and running. There's also a demo on Codepen.HTMLPlyr extends upon the standard HTML5 markup so that's all you need for those types. More info on advanced HTML markup can be found under initialising....
Version bump for NPM (sorry for folks who upgraded to the now deleted v1.9.0 through NPM)v2.0.0This version contains several potential breaking changes:setup() has been reverted to pre v1.8.0 behaviour; meaning it will return the instance rather than the element. This is because the ...
1 Plyr is a simple, lightweight, accessible and customizable HTML5, YouTube and Vimeo media player that supports [_modern_](#browser-support) browsers. 2 3 [Checkout the demo](https://plyr.io) - [Donate](#donate) - [Slack](https://bit.ly/plyr-chat) - [![npm version](https:...
yarn add vue-plyr# or npm i vue-plyr Module // In your main vue file - the one where you create the initial vue instance.importVuefrom'vue'importVuePlyrfrom'vue-plyr'import'vue-plyr/dist/vue-plyr.css'// Vue 3.x// The second argument is optional and sets the default config values...