Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sillytavern/sillytavern-youtube-videos-ui
Automatically replaces links to YouTube videos that have @ before them with HTML <video> tags in chat messages.
https://github.com/sillytavern/sillytavern-youtube-videos-ui
extension
Last synced: about 6 hours ago
JSON representation
Automatically replaces links to YouTube videos that have @ before them with HTML <video> tags in chat messages.
- Host: GitHub
- URL: https://github.com/sillytavern/sillytavern-youtube-videos-ui
- Owner: SillyTavern
- License: agpl-3.0
- Created: 2024-04-25T22:17:43.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-28T17:57:05.000Z (7 months ago)
- Last Synced: 2024-04-29T13:26:09.651Z (7 months ago)
- Topics: extension
- Language: JavaScript
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Playable YouTube videos
**Requires a server plugin to function! Install it from here: [SillyTavern-YouTube-Videos-Server](https://github.com/SillyTavern/SillyTavern-YouTube-Videos-Server)**
## Insert videos
Automatically replaces links to YouTube videos that have `@` before them with HTML `` tags in chat messages.
### Example 1
> Insert any URL instead of `youtu.be/zFfL0y3zyfc`.
`@youtu.be/zFfL0y3zyfc` => ``
## Fetch video info
This extension provides a set of macros to get various information about the YouTube video.
### Example 2
> Insert any video ID *or* URL instead of `zFfL0y3zyfc`.
```txt
{{yt-title::zFfL0y3zyfc}} => video title
{{yt-uploader::zFfL0y3zyfc}} => uploader name
{{yt-thumb::zFfL0y3zyfc}} => URL to thumbnail image
{{yt-thumb-img::zFfL0y3zyfc}} => thumbnail image as Markdown embed (requires External Media to be enabled!)
{{yt-length::zFfL0y3zyfc}} => length of the video (in minutes:seconds)
{{yt-views::zFfL0y3zyfc}} => number of video views
{{yt-description::zFfL0y3zyfc}} => video description
```## License
AGPLv3