Auto-close allowfullscreen attribute
This commit is contained in:
parent
082e16fb42
commit
26a3d141ac
@ -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)
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user