edit: intégration video mastodon + bug fix liens
This commit is contained in:
@@ -332,7 +332,7 @@
|
||||
rootDepth: 0
|
||||
}
|
||||
},
|
||||
emits: ['close','focus','openImg','openLink'],
|
||||
emits: ['close','focus','openImg','openLink','openVideo'],
|
||||
methods:{
|
||||
onDrag({ target, transform }) {
|
||||
target.style.transform = transform;
|
||||
@@ -393,7 +393,19 @@
|
||||
caption: e.caption,
|
||||
description: e.description
|
||||
}
|
||||
//console.log(dataStorage.selectedLink);
|
||||
console.log(dataStorage.selectedLink);
|
||||
}
|
||||
if(e.type === 'video'){
|
||||
this.$emit('openVideo');
|
||||
dataStorage.selectedVideo = {
|
||||
src: e.src,
|
||||
caption: e.caption,
|
||||
like: e.like,
|
||||
alt: e.alt,
|
||||
format: e.format,
|
||||
isLiked: e.isLiked
|
||||
}
|
||||
this.displayedDescription = e.description;
|
||||
}
|
||||
|
||||
this.selectFile(e);
|
||||
|
||||
Reference in New Issue
Block a user