mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
docs: fix webm compat (#38615)
This commit is contained in:
parent
415cc833cf
commit
9c670dfdf6
@ -54,12 +54,20 @@ export default function Banner({ children }: BannerProps) {
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<video
|
<video
|
||||||
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/file/A*uYT7SZwhJnUAAAAAAAAAAAAADgCCAQ"
|
|
||||||
style={{ height: '100%', objectFit: 'contain' }}
|
style={{ height: '100%', objectFit: 'contain' }}
|
||||||
autoPlay
|
autoPlay
|
||||||
muted
|
muted
|
||||||
loop
|
loop
|
||||||
/>
|
>
|
||||||
|
<source
|
||||||
|
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/file/A*uYT7SZwhJnUAAAAAAAAAAAAADgCCAQ"
|
||||||
|
type="video/webm"
|
||||||
|
/>
|
||||||
|
<source
|
||||||
|
src="https://gw.alipayobjects.com/mdn/rms_08e378/afts/file/A*XYYNQJ3NbmMAAAAAAAAAAAAAARQnAQ"
|
||||||
|
type="video/mp4"
|
||||||
|
/>
|
||||||
|
</video>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
|
Loading…
Reference in New Issue
Block a user