1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 07:35:57 +09:00
This commit is contained in:
syuilo 2018-03-19 03:46:13 +09:00
parent bacd0426e0
commit 29e84b4be2

View File

@ -1,6 +1,6 @@
<template> <template>
<iframe v-if="youtubeId" type="text/html" height="250" <iframe v-if="youtubeId" type="text/html" height="250"
:src="`http://www.youtube.com/embed/${youtubeId}?origin=${misskeyUrl}`" :src="`https://www.youtube.com/embed/${youtubeId}?origin=${misskeyUrl}`"
frameborder="0"/> frameborder="0"/>
<div v-else> <div v-else>
<a class="mk-url-preview" :href="url" target="_blank" :title="url" v-if="!fetching"> <a class="mk-url-preview" :href="url" target="_blank" :title="url" v-if="!fetching">