vime-js / vime

Customizable, extensible, accessible and framework agnostic media player. Modern alternative to Video.js and Plyr. Supports HTML5, HLS, Dash, YouTube, Vimeo, Dailymotion...

Home Page:https://vimejs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HLS live stream playback configuration

marksteven opened this issue · comments

Wondering if I could get some direction.
Have setup a sveltekit simple player to test a live stream.
the documentation on this page

https://vimejs.com/components/providers/hls

recommends the following simple live player on a svelte page

<script lang="ts"> import { Player, Hls } from '@vime/svelte'; /** * @see https://hls-js.netlify.app/api-docs/file/src/config.ts.html. */ const hlsConfig = { // ... }; </script>

It recommends to goto
https://hls-js.netlify.app/api-docs/file/src/config.ts.html.
To fill in the hls config.
however there is a hugs list of potential possibilities so hoping someone might know just a very simple bear minimum setup.
thanks in advance