ausocean / openfish

OpenFish is an open-source system written in GoLang for classifying marine species. Tasks involve importing video or image data, classifying and annotating data (both manually and automatically), searching, and more. It is expected that OpenFish will use utilize computer vision and machine learning techniques.
https://ausocean.github.io/openfish/
Other
6 stars 0 forks source link

Replace Youtube iframe API with vidstack #120

Closed scott97 closed 6 months ago

scott97 commented 6 months ago

Closes https://github.com/ausocean/openfish/issues/119

This replaces the youtube iframe API with vidstack (https://github.com/vidstack/player). Vidstack has support for youtube and importantly, does not show suggested videos when the player is pause. An added advantage is it comes with custom elements already, so we no longer need to wrap the player in our own youtube-player element.

Another benefit is we can support hls H.264 and a bunch of other formats if we want to in the future, very easily

Screencast from 2024-05-01 16-47-21.webm