mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +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
|
||||
src="https://mdn.alipayobjects.com/huamei_iwk9zp/afts/file/A*uYT7SZwhJnUAAAAAAAAAAAAADgCCAQ"
|
||||
style={{ height: '100%', objectFit: 'contain' }}
|
||||
autoPlay
|
||||
muted
|
||||
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
|
||||
style={{
|
||||
|
Loading…
Reference in New Issue
Block a user