mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
41 lines
669 B
Vue
41 lines
669 B
Vue
<template>
|
|
<div class="conatiner">
|
|
<YouTube
|
|
@end="end('youtube')"
|
|
@pause="pause('youtube')"
|
|
@play="play('youtube')"
|
|
@buffering="buffering('youtube')"
|
|
/>
|
|
</div>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
import store from "@/store";
|
|
import YouTube from "@/components/player/YouTube";
|
|
|
|
export default {
|
|
components: {
|
|
YouTube
|
|
},
|
|
data() {
|
|
return {
|
|
done: false,
|
|
player: undefined
|
|
};
|
|
},
|
|
methods: {
|
|
play: function(source) {},
|
|
pause: function(source) {},
|
|
end: function(source) {},
|
|
buffering: function(source) {}
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.container {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
</style> |