mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
fix(html): simplify styles for slotted video (#953)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
c39b1f8809
commit
d6e471a837
@@ -25,9 +25,15 @@ export default function HeroVideo({
|
||||
<Player.Provider>
|
||||
<SkinComponent
|
||||
className={className}
|
||||
style={{ '--media-border-radius': `calc(var(--spacing) * 6)`, ...style } as React.CSSProperties}
|
||||
style={
|
||||
{
|
||||
'--media-border-radius': `calc(var(--spacing) * 6)`,
|
||||
'--media-object-fit': 'cover',
|
||||
...style,
|
||||
} as React.CSSProperties
|
||||
}
|
||||
>
|
||||
<HlsVideo src={VJS10_DEMO_VIDEO.hls} playsInline className="object-cover" />
|
||||
<HlsVideo src={VJS10_DEMO_VIDEO.hls} playsInline />
|
||||
<Poster src={poster} />
|
||||
</SkinComponent>
|
||||
</Player.Provider>
|
||||
|
||||
Reference in New Issue
Block a user