1.7 KiB
layout |
---|
src/layouts/Default.astro |
Data Streams
All sources used in Zorn player, in this demo, are pulled directly from the SudoVanilla Ocean. The upload speed on SudoVanilla's internet connection is 10/Mpbs, which is slow for video and audio streaming. So while viewing the demo, expect buffering and some videos to lag a bit.
SudoVanilla has a strict policy about only pulling sources from it's own servers only, which is why the demo is setup like this.
Credits
Milieu
The Milieu function, also known as ambient mode on other players, uses it's script directly from Poke's source code.
HLS
HLS, HTTP Live Streaming, makes it possible for Zorn to support live streaming such as using .m3u8 sources. The script is minified in Zorn's source code. You can view here.
To apply HLS to Zorn, another script is used from the same developers. You can view that here.
Video and Audio Sync
Zorn supports a function to have a separated video and audio source, this was built to allow for 1080p/4K/8K support in MinPluto as it was originally built as a YouTube frontend.
To pull this off, SudoVanilla went through a few scripts that were somewhat usable, but not the best. Eventfully, I landed on the script by Michancio on their Gist. You can view their Gist here. It is modified in Zorn's source code.
Icons
All icons used in Zorn are from Iconoir, a free icon library.