other components... (2)

This commit is contained in:
Paolo Arena
2021-09-16 21:08:02 +02:00
parent fcc4f61f07
commit f351673917
276 changed files with 17183 additions and 3371 deletions

View File

23
src/components/CVideo/CVideo.ts Executable file
View File

@@ -0,0 +1,23 @@
import { defineComponent, ref, computed } from 'vue'
export default defineComponent({
name: 'CVideo',
props: {
myvideokey: {
type: String,
required: true,
},
title: {
type: String,
required: false,
default: '',
},
},
setup(props, { emit }) {
return {
}
}
})

View File

@@ -0,0 +1,27 @@
<template>
<div>
<div class="row justify-evenly items-center q-gutter-sm ">
<div class="text-center">
<div class="subtitle_small text-blue" v-html="title"></div>
<div class="">
<iframe
:title="title"
:width="tools.getwidthscale(mythis, getValDb('YT_W', false), 800)"
:height="tools.getheightbywidth(mythis, getValDb('YT_W', false), getValDb('YT_H', false), 800)"
:src="tools.getvideobyidyoutube(myvideokey)"
allowfullscreen
></iframe>
</div>
</div>
</div>
</div>
</template>
<script lang="ts" src="./CVideo.ts">
</script>
<style lang="scss" scoped>
@import './CVideo.scss';
</style>

1
src/components/CVideo/index.ts Executable file
View File

@@ -0,0 +1 @@
export {default as CVideo} from './CVideo.vue'