[Video] Misc player style tweaks (#5064)
* use actual black rather than theme black * adjust time/mute indicators
This commit is contained in:
@@ -43,7 +43,7 @@ export function VideoPreview({
|
||||
a.overflow_hidden,
|
||||
a.border,
|
||||
t.atoms.border_contrast_low,
|
||||
{backgroundColor: t.palette.black},
|
||||
{backgroundColor: 'black'},
|
||||
]}>
|
||||
<VideoView
|
||||
player={player}
|
||||
|
||||
@@ -5,7 +5,7 @@ import {ImagePickerAsset} from 'expo-image-picker'
|
||||
import {CompressedVideo} from '#/lib/media/video/types'
|
||||
import {clamp} from '#/lib/numbers'
|
||||
import {ExternalEmbedRemoveBtn} from 'view/com/composer/ExternalEmbedRemoveBtn'
|
||||
import {atoms as a, useTheme} from '#/alf'
|
||||
import {atoms as a} from '#/alf'
|
||||
|
||||
export function VideoPreview({
|
||||
asset,
|
||||
@@ -18,7 +18,6 @@ export function VideoPreview({
|
||||
setDimensions: (width: number, height: number) => void
|
||||
clear: () => void
|
||||
}) {
|
||||
const t = useTheme()
|
||||
const ref = useRef<HTMLVideoElement>(null)
|
||||
|
||||
useEffect(() => {
|
||||
@@ -54,7 +53,7 @@ export function VideoPreview({
|
||||
a.rounded_sm,
|
||||
{aspectRatio},
|
||||
a.overflow_hidden,
|
||||
{backgroundColor: t.palette.black},
|
||||
{backgroundColor: 'black'},
|
||||
]}>
|
||||
<ExternalEmbedRemoveBtn onRemove={clear} />
|
||||
<video
|
||||
|
||||
Reference in New Issue
Block a user