- Downline User
- Not registered if already exists. - Forgot Password
This commit is contained in:
0
src/components/CVideo/CVideo.scss
Normal file
0
src/components/CVideo/CVideo.scss
Normal file
21
src/components/CVideo/CVideo.ts
Normal file
21
src/components/CVideo/CVideo.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import Vue from 'vue'
|
||||
import { Component, Prop, Watch } from 'vue-property-decorator'
|
||||
import { UserStore } from '@store'
|
||||
import { tools } from '../../store/Modules/tools'
|
||||
import { toolsext } from '@src/store/Modules/toolsext'
|
||||
|
||||
import MixinBase from '../../mixins/mixin-base'
|
||||
import { CTitleBanner } from '../CTitleBanner'
|
||||
|
||||
@Component({
|
||||
components: { }
|
||||
})
|
||||
|
||||
export default class CVideo extends MixinBase {
|
||||
@Prop({ required: true }) public myvideokey: string
|
||||
@Prop({ required: false, default: '' }) public title: boolean
|
||||
|
||||
get getvideotit() {
|
||||
return this.title
|
||||
}
|
||||
}
|
||||
27
src/components/CVideo/CVideo.vue
Normal file
27
src/components/CVideo/CVideo.vue
Normal 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="getvideotit"></div>
|
||||
<div class="">
|
||||
<iframe
|
||||
: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)"
|
||||
frameborder="0"
|
||||
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
Normal file
1
src/components/CVideo/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export {default as CVideo} from './CVideo.vue'
|
||||
Reference in New Issue
Block a user