|
@@ -26,8 +26,8 @@
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="18" v-if="isvideoshow">
|
|
<el-col :span="18" v-if="isvideoshow">
|
|
|
<div style="height: 100%;">
|
|
<div style="height: 100%;">
|
|
|
- <div id="container" style="margin-top: 0px;width:100%;height:80vh"></div>
|
|
|
|
|
- <!-- <iframe id="FrameID" :key="currenturl" style="width: 100%;height:100%" :src="currenturl"/> -->
|
|
|
|
|
|
|
+ <div v-if="currenturl==''||currenturl==null" id="container" style="margin-top: 0px;width:100%;height:80vh"></div>
|
|
|
|
|
+ <iframe v-if="currenturl!=''&¤turl!=null" id="FrameID" :key="currenturl" style="width: 100%;height:100%" :src="currenturl"/>
|
|
|
</div>
|
|
</div>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="18" v-if="!isvideoshow">
|
|
<el-col :span="18" v-if="!isvideoshow">
|
|
@@ -151,6 +151,7 @@ const vidoeParams = ref({
|
|
|
|
|
|
|
|
|
|
|
|
|
const handleClick = (node) => {
|
|
const handleClick = (node) => {
|
|
|
|
|
+ currenturl.value = "";
|
|
|
if (node.videoId != null) {
|
|
if (node.videoId != null) {
|
|
|
searchform.value.id = node.videoId
|
|
searchform.value.id = node.videoId
|
|
|
} else {
|
|
} else {
|
|
@@ -158,9 +159,15 @@ const handleClick = (node) => {
|
|
|
}
|
|
}
|
|
|
isvideoshow.value = true;
|
|
isvideoshow.value = true;
|
|
|
|
|
|
|
|
- setTimeout(() => {
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ if (node.remark != null && node.remark != "") {
|
|
|
|
|
+ currenturl.value = node.remark;
|
|
|
|
|
+ } else {
|
|
|
|
|
+
|
|
|
|
|
+ setTimeout(() => {
|
|
|
var $container = document.getElementById('container');
|
|
var $container = document.getElementById('container');
|
|
|
- jessibuca = new Jessibuca({
|
|
|
|
|
|
|
+ jessibuca = new Jessibuca({
|
|
|
container: $container,
|
|
container: $container,
|
|
|
videoBuffer: 0.2, // 缓存时长
|
|
videoBuffer: 0.2, // 缓存时长
|
|
|
isResize: false,
|
|
isResize: false,
|
|
@@ -183,8 +190,8 @@ const handleClick = (node) => {
|
|
|
jessibuca.play(node.voiceOutCode);
|
|
jessibuca.play(node.voiceOutCode);
|
|
|
}, 1000);
|
|
}, 1000);
|
|
|
|
|
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- currenturl.value = node.remark;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|