videoPreview

This commit is contained in:
shijing 2022-04-20 09:58:54 +08:00
parent 4817fb0eb0
commit 132244b49e
2 changed files with 6 additions and 5 deletions

View File

@ -133,7 +133,7 @@
plugins:{
DynamicWatermark: {
speed: 0.1,
content: text
content: "用户:"+that.userName
}
}
};
@ -155,6 +155,7 @@
});
} else {
that.player.loadVideoByID(playerParm);
that.player.loadVideoByID(that.tcPlayerId);
}
},
},

View File

@ -45,10 +45,9 @@
</template>
<template slot-scope="scope">
<el-button
:disabled="!checkPermission(['video_update'])"
type="primary"
size="small"
icon="el-icon-edit"
icon="el-icon-view"
@click="handleEdit(scope)"
/>
<el-button
@ -313,13 +312,14 @@ export default {
},
//编辑视频
handleEdit(scope) {
this.VideoContent = Object.assign({}, scope.row); // copy obj
this.$router.push({name: "Index", params: {fileid: scope.row.fileid, id: scope.row.id}})
/*this.VideoContent = Object.assign({}, scope.row); // copy obj
this.dialogType = "edit";
this.dialogVisible = true;
this.$nextTick(() => {
this.$refs["Forms"].clearValidate();
});
});*/
},
setVcExampleVideoName: function () {
this.vcExampleVideoName = this.$refs.vcExampleVideo.files[0].name;