Merge branch 'sim-dev/ytplayer' into develop
This commit is contained in:
commit
fa7c8024d6
@ -19,8 +19,6 @@ const props = defineProps<{
|
|||||||
url: string;
|
url: string;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
console.log(props.url);
|
|
||||||
|
|
||||||
const requestUrl = new URL(props.url);
|
const requestUrl = new URL(props.url);
|
||||||
|
|
||||||
let fetching = $ref(true);
|
let fetching = $ref(true);
|
||||||
@ -43,7 +41,7 @@ const ytFetch = () => {
|
|||||||
player = info.player;
|
player = info.player;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
||||||
ytFetch();
|
ytFetch();
|
||||||
|
|
||||||
@ -53,7 +51,6 @@ definePageMetadata(computed(() => props.url ? {
|
|||||||
icon: 'fa-brands fa-youtube'
|
icon: 'fa-brands fa-youtube'
|
||||||
} : null));
|
} : null));
|
||||||
|
|
||||||
console.log(await player.url);
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user