Browse Source

视频相关

Lita-Tako 4 months ago
parent
commit
0c1a55bb70
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/components/video/Live.vue
  2. 1 1
      src/components/video/Replay.vue

+ 1 - 1
src/components/video/Live.vue

@@ -59,7 +59,7 @@
59
 	const createPlayer = () => {
59
 	const createPlayer = () => {
60
 		player.value = new window.JSPlugin({
60
 		player.value = new window.JSPlugin({
61
 			szId: 'player',
61
 			szId: 'player',
62
-			szBasePath: './',
62
+			szBasePath: '/h5player/',
63
 			iMaxSplit: 4,
63
 			iMaxSplit: 4,
64
 			iCurrentSplit: parseInt(splitNum.value),
64
 			iCurrentSplit: parseInt(splitNum.value),
65
 			openDebug: true,
65
 			openDebug: true,

+ 1 - 1
src/components/video/Replay.vue

@@ -58,7 +58,7 @@
58
 	const createPlayer = () => {
58
 	const createPlayer = () => {
59
 		player.value = new window.JSPlugin({
59
 		player.value = new window.JSPlugin({
60
 			szId: 'player',
60
 			szId: 'player',
61
-			szBasePath: './',
61
+			szBasePath: '/h5player/',
62
 			iMaxSplit: 4,
62
 			iMaxSplit: 4,
63
 			iCurrentSplit: parseInt(splitNum.value),
63
 			iCurrentSplit: parseInt(splitNum.value),
64
 			openDebug: true,
64
 			openDebug: true,