mirror of
https://github.com/mastodon/mastodon.git
synced 2025-09-05 09:21:11 +00:00
Merge f351c30128
into 14cb5ff881
This commit is contained in:
commit
4f2d3fed28
|
@ -13,6 +13,7 @@ import PlayArrowIcon from '@/material-icons/400-24px/play_arrow-fill.svg?react';
|
||||||
import Replay5Icon from '@/material-icons/400-24px/replay_5-fill.svg?react';
|
import Replay5Icon from '@/material-icons/400-24px/replay_5-fill.svg?react';
|
||||||
import VolumeOffIcon from '@/material-icons/400-24px/volume_off-fill.svg?react';
|
import VolumeOffIcon from '@/material-icons/400-24px/volume_off-fill.svg?react';
|
||||||
import VolumeUpIcon from '@/material-icons/400-24px/volume_up-fill.svg?react';
|
import VolumeUpIcon from '@/material-icons/400-24px/volume_up-fill.svg?react';
|
||||||
|
import { AltTextBadge } from 'mastodon/components/alt_text_badge';
|
||||||
import { Blurhash } from 'mastodon/components/blurhash';
|
import { Blurhash } from 'mastodon/components/blurhash';
|
||||||
import { Icon } from 'mastodon/components/icon';
|
import { Icon } from 'mastodon/components/icon';
|
||||||
import { SpoilerButton } from 'mastodon/components/spoiler_button';
|
import { SpoilerButton } from 'mastodon/components/spoiler_button';
|
||||||
|
@ -810,6 +811,12 @@ export const Audio: React.FC<{
|
||||||
<div className='video-player__buttons right'>
|
<div className='video-player__buttons right'>
|
||||||
{!editable && (
|
{!editable && (
|
||||||
<>
|
<>
|
||||||
|
{alt && (
|
||||||
|
<div className='video-player__alt'>
|
||||||
|
<AltTextBadge description={alt} />
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
<button
|
<button
|
||||||
type='button'
|
type='button'
|
||||||
className='player-button'
|
className='player-button'
|
||||||
|
|
|
@ -17,6 +17,7 @@ import Replay5Icon from '@/material-icons/400-24px/replay_5-fill.svg?react';
|
||||||
import VolumeDownIcon from '@/material-icons/400-24px/volume_down-fill.svg?react';
|
import VolumeDownIcon from '@/material-icons/400-24px/volume_down-fill.svg?react';
|
||||||
import VolumeOffIcon from '@/material-icons/400-24px/volume_off-fill.svg?react';
|
import VolumeOffIcon from '@/material-icons/400-24px/volume_off-fill.svg?react';
|
||||||
import VolumeUpIcon from '@/material-icons/400-24px/volume_up-fill.svg?react';
|
import VolumeUpIcon from '@/material-icons/400-24px/volume_up-fill.svg?react';
|
||||||
|
import { AltTextBadge } from 'mastodon/components/alt_text_badge';
|
||||||
import { Blurhash } from 'mastodon/components/blurhash';
|
import { Blurhash } from 'mastodon/components/blurhash';
|
||||||
import { Icon } from 'mastodon/components/icon';
|
import { Icon } from 'mastodon/components/icon';
|
||||||
import { SpoilerButton } from 'mastodon/components/spoiler_button';
|
import { SpoilerButton } from 'mastodon/components/spoiler_button';
|
||||||
|
@ -989,6 +990,11 @@ export const Video: React.FC<{
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className='video-player__buttons right'>
|
<div className='video-player__buttons right'>
|
||||||
|
{alt && (
|
||||||
|
<div className='video-player__alt'>
|
||||||
|
<AltTextBadge description={alt} />
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
{!fullscreen && onOpenVideo && (
|
{!fullscreen && onOpenVideo && (
|
||||||
<button
|
<button
|
||||||
type='button'
|
type='button'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user