Browse Source

注释http转化成https的限制条件

tag_videoplay.done^2
wenlele 3 years ago
parent
commit
5820112bc8
  1. 2
      code/VideoAccess-VCMP/web/client/index.html
  2. 2
      code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx
  3. 1
      code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/camera.jsx

2
code/VideoAccess-VCMP/web/client/index.html

@ -4,7 +4,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="minimum-scale=1, initial-scale=1, width=device-width" /> <meta name="viewport" content="minimum-scale=1, initial-scale=1, width=device-width" />
<meta content="upgrade-insecure-requests" http-equiv="Content-Security-Policy"> <!-- <meta content="upgrade-insecure-requests" http-equiv="Content-Security-Policy"> 会将http转化成https,导致jessibuca视频播放不成功 -->
<link rel="shortcut icon" href="/assets/images/favicon.ico"> <link rel="shortcut icon" href="/assets/images/favicon.ico">
<script src="/assets/js/jessibuca/jessibuca.js"></script> <script src="/assets/js/jessibuca/jessibuca.js"></script>
<script src="https://lf1-cdn-tos.bytegoofy.com/obj/iconpark/icons_14797_10.b43556420cacd0119dedf94deff663bb.js"></script> <script src="https://lf1-cdn-tos.bytegoofy.com/obj/iconpark/icons_14797_10.b43556420cacd0119dedf94deff663bb.js"></script>

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

@ -267,7 +267,7 @@ const VideoPlay = ({
debug: true, debug: true,
showBandwidth: false, // showBandwidth: false, //
operateBtns: { operateBtns: {
fullscreen: false, fullscreen: true,
screenshot: false, screenshot: false,
play: false, play: false,
audio: false, audio: false,

1
code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/camera.jsx

@ -225,6 +225,7 @@ const CameraHeader = (props) => {
yingshiToken: row.secretYingshi?.token, yingshiToken: row.secretYingshi?.token,
playUrlSd: row.gbCamera?.playUrl?.liveUrl?.sd?.ezopen, playUrlSd: row.gbCamera?.playUrl?.liveUrl?.sd?.ezopen,
playUrlHd: row.gbCamera?.playUrl?.liveUrl?.hd?.ezopen, playUrlHd: row.gbCamera?.playUrl?.liveUrl?.hd?.ezopen,
replayUrl:row.gbCamera?.playUrl?.replayUrl?.cloud,
content:data, content:data,
}) })
} else { } else {

Loading…
Cancel
Save