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)
|
a(href=track.Link())= track.Title.ByUser(user)
|
||||||
|
|
||||||
component ExternalMedia(media *arn.ExternalMedia)
|
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")
|
section.anime-section.mountable(data-mountable-type="sidebar")
|
||||||
h3.anime-section-name Trailer
|
h3.anime-section-name Trailer
|
||||||
.anime-trailer.video-container
|
.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)
|
component AnimeFriends(friends []*arn.User, listItems map[*arn.User]*arn.AnimeListItem)
|
||||||
if len(friends) > 0
|
if len(friends) > 0
|
||||||
|
@ -12,7 +12,7 @@ component SoundTrackPage(track *arn.SoundTrack, user *arn.User)
|
|||||||
.widget.mountable
|
.widget.mountable
|
||||||
h3.widget-title= media.Service
|
h3.widget-title= media.Service
|
||||||
.soundtrack-media.video-container
|
.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 != ""
|
if user != nil && media.Service == "Youtube" && track.File != ""
|
||||||
.buttons
|
.buttons
|
||||||
|
Loading…
Reference in New Issue
Block a user