[Video] Misc player style tweaks (#5064)
* use actual black rather than theme black * adjust time/mute indicators
This commit is contained in:
parent
17d82a64a6
commit
eb868a042a
7 changed files with 31 additions and 30 deletions
|
|
@ -9,13 +9,12 @@ import {
|
|||
HLSUnsupportedError,
|
||||
VideoEmbedInnerWeb,
|
||||
} from '#/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerWeb'
|
||||
import {atoms as a, useTheme} from '#/alf'
|
||||
import {atoms as a} from '#/alf'
|
||||
import {ErrorBoundary} from '../ErrorBoundary'
|
||||
import {useActiveVideoWeb} from './ActiveVideoWebContext'
|
||||
import * as VideoFallback from './VideoEmbedInner/VideoFallback'
|
||||
|
||||
export function VideoEmbed({embed}: {embed: AppBskyEmbedVideo.View}) {
|
||||
const t = useTheme()
|
||||
const ref = useRef<HTMLDivElement>(null)
|
||||
const gate = useGate()
|
||||
const {active, setActive, sendPosition, currentActiveView} =
|
||||
|
|
@ -64,7 +63,7 @@ export function VideoEmbed({embed}: {embed: AppBskyEmbedVideo.View}) {
|
|||
style={[
|
||||
a.w_full,
|
||||
{aspectRatio},
|
||||
{backgroundColor: t.palette.black},
|
||||
{backgroundColor: 'black'},
|
||||
a.relative,
|
||||
a.rounded_sm,
|
||||
a.my_xs,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue