mirror of
https://github.com/anatolykopyl/movieroom-front.git
synced 2026-03-26 21:05:21 +00:00
Direct file upload
This commit is contained in:
@@ -63,8 +63,10 @@ export default defineComponent({
|
||||
clearInterval(this.positionInterval);
|
||||
},
|
||||
methods: {
|
||||
onDownloaded() {
|
||||
this.room.downloaded = true;
|
||||
async onDownloaded() {
|
||||
if (!this.room.downloaded) {
|
||||
this.room = await getRoom(this.id);
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
const element = this.$refs.video as HTMLVideoElement;
|
||||
this.positionInterval = setInterval(async () => {
|
||||
|
||||
Reference in New Issue
Block a user