fix: 测试视频播放
This commit is contained in:
parent
feb2ef7db1
commit
718d348d91
@ -5,8 +5,9 @@ import { Space } from 'antd';
|
|||||||
|
|
||||||
const mockVideoPlayerCardProps: VideoPlayerCardProps = {
|
const mockVideoPlayerCardProps: VideoPlayerCardProps = {
|
||||||
showType: 'image',
|
showType: 'image',
|
||||||
// videoSrc: 'https://example.com/video.mp4',
|
videoSrc: 'ws://10.0.0.7:9033/flv/File/test/test_h264_1.mp4.flv?ip=127.0.0.1',
|
||||||
imageKey: 'https://i.yourimageshare.com/lRHiD2UnAT.png', // 如果需要在没有视频时显示图片封面
|
// 如果需要在没有视频时显示图片封面
|
||||||
|
// imageKey: 'https://i.yourimageshare.com/lRHiD2UnAT.png',
|
||||||
size: 'small',
|
size: 'small',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user