videoPreview
This commit is contained in:
parent
4817fb0eb0
commit
132244b49e
|
@ -133,7 +133,7 @@
|
||||||
plugins:{
|
plugins:{
|
||||||
DynamicWatermark: {
|
DynamicWatermark: {
|
||||||
speed: 0.1,
|
speed: 0.1,
|
||||||
content: text
|
content: "用户:"+that.userName
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -155,6 +155,7 @@
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
that.player.loadVideoByID(playerParm);
|
that.player.loadVideoByID(playerParm);
|
||||||
|
that.player.loadVideoByID(that.tcPlayerId);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -45,10 +45,9 @@
|
||||||
</template>
|
</template>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
:disabled="!checkPermission(['video_update'])"
|
|
||||||
type="primary"
|
type="primary"
|
||||||
size="small"
|
size="small"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-view"
|
||||||
@click="handleEdit(scope)"
|
@click="handleEdit(scope)"
|
||||||
/>
|
/>
|
||||||
<el-button
|
<el-button
|
||||||
|
@ -313,13 +312,14 @@ export default {
|
||||||
},
|
},
|
||||||
//编辑视频
|
//编辑视频
|
||||||
handleEdit(scope) {
|
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.dialogType = "edit";
|
||||||
this.dialogVisible = true;
|
this.dialogVisible = true;
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs["Forms"].clearValidate();
|
this.$refs["Forms"].clearValidate();
|
||||||
});
|
});*/
|
||||||
},
|
},
|
||||||
setVcExampleVideoName: function () {
|
setVcExampleVideoName: function () {
|
||||||
this.vcExampleVideoName = this.$refs.vcExampleVideo.files[0].name;
|
this.vcExampleVideoName = this.$refs.vcExampleVideo.files[0].name;
|
||||||
|
|
Loading…
Reference in New Issue