Piped/src/components/VideoRedirect.vue

17 lines
323 B
Vue
Raw Normal View History

<template>
2021-12-27 16:29:25 +00:00
<div v-text="$t('actions.loading')" />
</template>
<script>
export default {
activated() {
const videoId = this.$route.params.videoId;
if (videoId)
this.$router.push({
path: "/watch",
query: { v: videoId },
});
},
};
</script>