<template>
  <div class="videocon">
    <video
    x5-playsinline="true" playsinline="true" webkit-playsinline="true"
    controls autoplay controlslist="nofullscreen nodownload noremoteplayback" :src="currentTag.video.ossPath"></video>
  </div>
</template>

<script setup>
import { reactive, defineEmits, onBeforeMount, onMounted, ref, watchEffect, computed, watch, nextTick } from "vue";
import { useStore } from "vuex";
const store = useStore();

const currentTag = computed(() => store.getters['tags/currentTag'])
  
</script>

<style lang="scss" scoped>
.videocon{
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 80px);
  width: 100%;
  >video{
    width: 100%;
    height: auto;
    max-height: 100%;
  }
}
</style>