Commit 2675fbb0d936a71882e59d9e41ac87aa81f9d772

Authored by ww
1 parent fce5fc9d

fix: video component streaming media can not play

@@ -14881,7 +14881,7 @@ class HandleDynamicEffect { @@ -14881,7 +14881,7 @@ class HandleDynamicEffect {
14881 if (Number(accessMode) === enumAccessMode.MANUAL_ENTER) { 14881 if (Number(accessMode) === enumAccessMode.MANUAL_ENTER) {
14882 handleVideoPlay(videoPlayConfig, cell, videoUrl) 14882 handleVideoPlay(videoPlayConfig, cell, videoUrl)
14883 } else { 14883 } else {
14884 - getStreamingVideoPlayUrl(id, nodeId) 14884 + getStreamingVideoPlayUrl(id, cell)
14885 } 14885 }
14886 } 14886 }
14887 14887
@@ -14897,7 +14897,7 @@ class HandleDynamicEffect { @@ -14897,7 +14897,7 @@ class HandleDynamicEffect {
14897 const { geometry = {} } = cell 14897 const { geometry = {} } = cell
14898 const { width, height } = geometry 14898 const { width, height } = geometry
14899 const idEl = getIdEl() 14899 const idEl = getIdEl()
14900 - graph.getModel().beginUpdate() 14900 + graph.getModel().beginUpdate()
14901 try { 14901 try {
14902 let type 14902 let type
14903 if (videoUrl.replace(reg, '') === 'm3u8') type = 'application/x-mpegURL' 14903 if (videoUrl.replace(reg, '') === 'm3u8') type = 'application/x-mpegURL'