Auto-close allowfullscreen attribute

This commit is contained in:
Eduard Urbach 2018-07-02 15:15:54 +09:00
parent 082e16fb42
commit 26a3d141ac
3 changed files with 3 additions and 3 deletions

View File

@ -50,4 +50,4 @@ component SoundTrackMiniFooter(track *arn.SoundTrack, user *arn.User)
a(href=track.Link())= track.Title.ByUser(user)
component ExternalMedia(media *arn.ExternalMedia)
iframe.lazy(data-src=media.EmbedLink(), allowfullscreen="allowfullscreen")
iframe.lazy(data-src=media.EmbedLink(), allowfullscreen)

View File

@ -157,7 +157,7 @@ component AnimeTrailerByIndex(anime *arn.Anime, index int)
section.anime-section.mountable(data-mountable-type="sidebar")
h3.anime-section-name Trailer
.anime-trailer.video-container
iframe.video(src="https://www.youtube.com/embed/" + anime.Trailers[index].ServiceID + "?showinfo=0", allowfullscreen="allowfullscreen")
iframe.video(src="https://www.youtube.com/embed/" + anime.Trailers[index].ServiceID + "?showinfo=0", allowfullscreen)
component AnimeFriends(friends []*arn.User, listItems map[*arn.User]*arn.AnimeListItem)
if len(friends) > 0

View File

@ -12,7 +12,7 @@ component SoundTrackPage(track *arn.SoundTrack, user *arn.User)
.widget.mountable
h3.widget-title= media.Service
.soundtrack-media.video-container
iframe.lazy.video(data-src=media.EmbedLink(), allowfullscreen="allowfullscreen")
iframe.lazy.video(data-src=media.EmbedLink(), allowfullscreen)
if user != nil && media.Service == "Youtube" && track.File != ""
.buttons