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,
|
VideoAttributes,
|
||||||
AudioAttributes,
|
AudioAttributes,
|
||||||
Milieu,
|
Milieu,
|
||||||
SettingsMenu
|
SettingsMenu,
|
||||||
|
Live
|
||||||
} = Astro.props
|
} = Astro.props
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
|
@ -28,12 +29,12 @@ import { Settings } from '@iconoir/vue'
|
||||||
{Milieu ? <MilieuEffect/> : null }
|
{Milieu ? <MilieuEffect/> : null }
|
||||||
{Audio ? <Sync/> : null }
|
{Audio ? <Sync/> : null }
|
||||||
{SettingsMenu ?
|
{SettingsMenu ?
|
||||||
<Controls>
|
<Controls Live={Live}>
|
||||||
<button id="open-zorn-settings-button" onclick="OpenZornMenu()"><Settings/></button>
|
<button id="open-zorn-settings-button" onclick="OpenZornMenu()"><Settings/></button>
|
||||||
<slot/>
|
<slot/>
|
||||||
</Controls>
|
</Controls>
|
||||||
:
|
:
|
||||||
<Controls/>
|
<Controls Live={Live}/>
|
||||||
}
|
}
|
||||||
<Controller/>
|
<Controller/>
|
||||||
<Seek/>
|
<Seek/>
|
||||||
|
|
Loading…
Reference in a new issue