Add HLS support to make live streams function (Tested with SafeTwitch API)
This commit is contained in:
parent
57a5c81cfa
commit
6d405d78b6
2 changed files with 57 additions and 15 deletions
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,8 @@ const {
|
|||
VideoAttributes,
|
||||
AudioAttributes,
|
||||
Milieu,
|
||||
SettingsMenu
|
||||
SettingsMenu,
|
||||
Live
|
||||
} = Astro.props
|
||||
|
||||
// Components
|
||||
|
@ -28,12 +29,12 @@ import { Settings } from '@iconoir/vue'
|
|||
{Milieu ? <MilieuEffect/> : null }
|
||||
{Audio ? <Sync/> : null }
|
||||
{SettingsMenu ?
|
||||
<Controls>
|
||||
<Controls Live={Live}>
|
||||
<button id="open-zorn-settings-button" onclick="OpenZornMenu()"><Settings/></button>
|
||||
<slot/>
|
||||
</Controls>
|
||||
:
|
||||
<Controls/>
|
||||
<Controls Live={Live}/>
|
||||
}
|
||||
<Controller/>
|
||||
<Seek/>
|
||||
|
|
Loading…
Reference in a new issue