This commit is contained in:
ikasoba 2023-11-02 21:28:21 +09:00
parent a246a7f772
commit d8bb99ad49
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only
scrolling="no"
:allow="player.allow.join(';')"
:class="$style.playerIframe"
:src="player.url && player.url + (player.url.match(/\?/) ? '&autoplay=1&auto_play=1' : '?autoplay=1&auto_play=1')"
:src="player.url + (player.url.match(/\?/) ? '&autoplay=1&auto_play=1' : '?autoplay=1&auto_play=1')"
:style="{ border: 0 }"
></iframe>
<span v-else>invalid url</span>