update
This commit is contained in:
parent
661b6f38da
commit
e1bcc4c13f
@ -63,7 +63,7 @@ export const Player = React.forwardRef<PlayerInstance, Props>((props, ref) => {
|
||||
playerVideo.setAttribute('playsInline', 'true')
|
||||
playerVideo.setAttribute('webkit-playsinline', 'true')
|
||||
if(props.className) playerVideo.setAttribute('className', props.className)
|
||||
document.querySelector('.video-player-container-inner').appendChild(playerVideo)
|
||||
document.querySelector('.video-player-container-inner')!.appendChild(playerVideo)
|
||||
|
||||
const player = TCPlayer(playerId, {
|
||||
//sources: [{src: props.url}],
|
||||
|
@ -24,7 +24,7 @@ export default function VideoIndex() {
|
||||
checkedAll: false,
|
||||
playingIndex: -1,
|
||||
})
|
||||
const [checkedIdArray, setCheckedIdArray] = useState<number[]>([])
|
||||
const [checkedIdArray, setCheckedIdArray] = useState<Id[]>([])
|
||||
|
||||
// 加载列表
|
||||
const loadList = (needReset = true) => {
|
||||
@ -172,7 +172,7 @@ export default function VideoIndex() {
|
||||
{/* confirmMessage={`是否确定一键推流选中新闻视频?`}*/}
|
||||
{/* onSuccess={loadList}*/}
|
||||
{/*>一键推流</ButtonBatch>*/}
|
||||
<ButtonPush2Room ids={checkedIdArray}/>
|
||||
<ButtonPush2Room ids={checkedIdArray} list={videoData}/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="video-player-container ml-16 w-[360px] flex flex-col">
|
||||
|
Loading…
x
Reference in New Issue
Block a user