https://github.com/fildon/youtube-controller
https://github.com/fildon/youtube-controller
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fildon/youtube-controller
- Owner: fildon
- Created: 2025-03-27T14:39:21.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-27T15:09:44.000Z (about 1 year ago)
- Last Synced: 2025-04-09T23:55:05.169Z (about 1 year ago)
- Language: HTML
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Youtube-Controller
Additional controls for the Youtube video player
## Usage
Visit [rupertmckay.com/youtube-controller](https://rupertmckay.com/youtube-controller/) for instructions.
## Development
To run a build:
```ts
npm run build
```
This compiles, bundles and minifies all source to a single JS file using [esbuild](https://esbuild.github.io/).
Then the library [bookmarklet](https://github.com/mrcoles/bookmarklet) is used to prepare the JS for usage directly as a bookmarklet.
The final step is manual. When you have created a new build, copy the build output from `dist/bookmarklet.js` into the anchor in the `index.html`.
## TODO
Automate the final build step to directly inject into the html