tatlead/html-speaker
Composer 安装命令:
composer require tatlead/html-speaker
包简介
A custom html element makes Text-To-Speech function easier to use.
README 文档
README
HTML-Speaker
A custom html element to use Text-To-Speech function easier. Live demo: https://tatlead.com/HTML-Speaker/
npm
npm install html-speaker
Quick start
CSS (Optional)
Copy-paste the stylesheet <link> into your <head>.
<link href="https://cdn.jsdelivr.net/npm/html-speaker@latest/dist/html-speaker.min.css" rel="stylesheet">
JS
Place the following <script> near the end of your pages, right before the closing </body> tag
<script src="https://cdn.jsdelivr.net/npm/html-speaker@latest/dist/html-speaker.min.js"></script>
Basic <html-speaker> template
Place the following template inside </body> tag
<html-speaker for="content" class="speaker speaker-rounded" data-start="PLAY" data-pause="PAUSE"></html-speaker> <p id="content"> Back in the old days of TF2 Sandbox, MSTR stood as the biggest center of in-game TF2 roleplaying in the community. </p>
Examples
Live demo: https://tatlead.com/HTML-Speaker/examples/
Bugs and feature requests
If you find a bug, please report it here on Github.
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-11-15