An open API service indexing awesome lists of open source software.

https://github.com/fildon/youtube-controller


https://github.com/fildon/youtube-controller

Last synced: 5 months ago
JSON representation

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