fix(frontend/media): メディアプロキシ使用時オーディオが再生されない問題を修正 (MisskeyIO#854)
This commit is contained in:
parent
1c6829d429
commit
84505cb7ad
3 changed files with 5 additions and 1 deletions
|
@ -27,6 +27,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<audio
|
||||
ref="audioEl"
|
||||
preload="metadata"
|
||||
crossorigin="anonymous"
|
||||
controls
|
||||
:class="$style.nativeAudio"
|
||||
@keydown.prevent
|
||||
|
@ -41,6 +42,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<audio
|
||||
ref="audioEl"
|
||||
preload="metadata"
|
||||
crossorigin="anonymous"
|
||||
>
|
||||
<source :src="audio.url">
|
||||
</audio>
|
||||
|
|
|
@ -34,6 +34,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
:title="video.comment ?? undefined"
|
||||
:alt="video.comment"
|
||||
preload="metadata"
|
||||
crossorigin="anonymous"
|
||||
controls
|
||||
@keydown.prevent
|
||||
>
|
||||
|
@ -54,6 +55,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
:title="video.comment ?? undefined"
|
||||
:alt="video.comment"
|
||||
preload="metadata"
|
||||
crossorigin="anonymous"
|
||||
playsinline
|
||||
@keydown.prevent
|
||||
@click.self="togglePlayPause"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue