Add Subtitle and Narrarator fields, add server settings object, scanner to parse out subtitles

This commit is contained in:
Mark Cooper 2021-09-04 19:58:39 -05:00
parent e566c6c9d5
commit af05e78cdf
20 changed files with 213 additions and 31 deletions

View file

@ -1,5 +1,5 @@
<template>
<modals-modal v-model="show" :width="800" :height="500" :processing="processing">
<modals-modal v-model="show" :width="800" :height="height" :processing="processing" :content-margin-top="75">
<template #outer>
<div class="absolute top-0 left-0 p-5 w-2/3 overflow-hidden">
<p class="font-book text-3xl text-white truncate">{{ title }}</p>
@ -79,6 +79,10 @@ export default {
this.$store.commit('setShowEditModal', val)
}
},
height() {
var maxHeightAllowed = window.innerHeight - 150
return Math.min(maxHeightAllowed, 650)
},
tabName() {
var _tab = this.tabs.find((t) => t.id === this.selectedTab)
return _tab ? _tab.component : ''