Skip to content

Commit

Permalink
Merge pull request #37 from LKKTGB/display_video_inline_on_iOS_devices
Browse files Browse the repository at this point in the history
fix: prevent video play fullscreen on iOS
  • Loading branch information
badboy99tw committed Sep 20, 2021
2 parents 1625988 + 2e0b690 commit 78909f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thiamsu/templates/thiamsu/_player_with_info.html
@@ -1,7 +1,7 @@
<div class="player">
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item"
src="https://www.youtube.com/embed/{{ song.youtube_id }}"
src="https://www.youtube.com/embed/{{ song.youtube_id }}?playsinline=1"
referrerpolicy="no-referrer-when-downgrade"
frameborder="0" allowfullscreen></iframe>
</div>
Expand Down

0 comments on commit 78909f4

Please sign in to comment.