Phoenix live view project that allow any YouTube streamer to embed closed captions dynamically.
My contribution to the Elixir community. It was an opportunity to help #ElixirBrasil 2020 conference and future conferences.
Start your Phoenix server:
- Install dependencies with
mix deps.get
- Install Node.js dependencies with
npm install
inside theassets
directory - Start Phoenix endpoint with
mix phx.server
Now you can visit localhost:4000
from your browser.
- Enable the closed caption option in your stream YouTube Help
- Past in the url field your closed caption URL
- Enjoy
Sometimes when the connection hangs or when you refresh the page the socket miss your sequential caption number, so you need to manually set from where it stopped or any number higher than the previous. You can do this by setting a query param in the url http://localhost:4000?seq=1000
You can check the demo page to see and use the application live in your browser. Demo
This project is highly experimental and has a lot of improvements to be made. Feel free to fork the repository and add new features and tests as you want. This project is from the community and for the community.