mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(site): add storyboard to home page hero video (#1093)
This commit is contained in:
@@ -34,7 +34,14 @@ export default function HeroVideo({
|
||||
}
|
||||
poster={poster}
|
||||
>
|
||||
<HlsVideo src={VJS10_DEMO_VIDEO.hls} playsInline />
|
||||
<HlsVideo src={VJS10_DEMO_VIDEO.hls} playsInline crossOrigin="anonymous">
|
||||
<track
|
||||
kind="metadata"
|
||||
label="thumbnails"
|
||||
src={`https://image.mux.com/${VJS10_DEMO_VIDEO.id}/storyboard.vtt`}
|
||||
default
|
||||
/>
|
||||
</HlsVideo>
|
||||
</SkinComponent>
|
||||
</Player.Provider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user