|
@@ -27,7 +27,15 @@ function HotInfo({ closeFu, info }: Props) {
|
|
|
{info.type === 'img' ? (
|
|
|
<img src={baseURL + info.inSrc} alt='' />
|
|
|
) : info.type === 'video' ? (
|
|
|
- <video muted ref={videoRef} src={baseURL + info.inSrc} controls></video>
|
|
|
+ <video
|
|
|
+ ref={videoRef}
|
|
|
+ src={baseURL + info.inSrc}
|
|
|
+ controls
|
|
|
+ playsInline
|
|
|
+ muted
|
|
|
+ webkit-playsinline='true'
|
|
|
+ x5-video-player-type='h5'
|
|
|
+ ></video>
|
|
|
) : (
|
|
|
<iframe
|
|
|
title={info.name}
|