Browse Source

引用错误

release_0.0.2
巴林闲侠 2 years ago
parent
commit
6553443e41
  1. 4
      code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoOperation.jsx
  2. 11
      code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx

4
code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoOperation.jsx

@ -2,10 +2,10 @@ import React, { useState, useEffect, useRef } from "react";
import { connect } from "react-redux";
import moment from 'moment'
import VideoOperationCloudControl from './videoOperationCloudControl'
import VideoOperationTalk from './VideoOperationTalk'
import VideoOperationTalk from './videoOperationTalk'
import VideoOperationSpeed from './videoOperationSpeed'
import VideoOperationVoice from './VideoOperationVoice'
import VideoOperationTime from './VideoOperationTime'
import VideoOperationTime from './videoOperationTime'
import { IconPause, IconPlay } from '@douyinfe/semi-icons';
import './videoPlay.less';

11
code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx

@ -5,11 +5,16 @@ import VideoHeader from './voiceHeader'
import VideoOperation from './videoOperation'
import './videoPlay.less';
const VideoPlay = ({ height, width }) => {
const VideoPlay = ({
height, width,
// playUrl,
}) => {
const [jessibuca, setjessibuca] = useState(null)
const [playUrl, setPlayUrl] = useState(
// 'http://flv.bdplay.nodemedia.cn/live/bbb.flv'
'http://221.230.55.27:2020/hdl/34020000001110000077/34020000001310000001.flv'
// 'http://flv.bdplay.nodemedia.cn/live/bbb.flv' // TEST
// 'http://221.230.55.27:2020/hdl/36011200002002021114/36011200581314002916.flv',
'ws://221.230.55.27:8081/jessica/34020000001110000077/34020000001310000003'
)
const [isPlaying, setIsPlaying] = useState(false)
const [operationState, setoperationState] = useState()

Loading…
Cancel
Save