Fixed soundtrack images

This commit is contained in:
Eduard Urbach 2018-03-14 23:04:08 +01:00
parent d162946f07
commit 2409204bff

View File

@ -15,7 +15,7 @@ component SoundTrackMedia(track *arn.SoundTrack)
if track.File != ""
.soundtrack-media
.soundtrack-play-area.action(data-action="toggleAudio", data-trigger="click", data-audio-src="https://notify.moe/audio/" + track.File, data-soundtrack-id=track.ID)
img.soundtrack-image.lazy(data-src="https://img.youtube.com/vi/" + track.MediaByService("Youtube")[0].ServiceID + "/maxresdefault.jpg", alt=track.Title)
img.soundtrack-image.lazy(data-src="https://img.youtube.com/vi/" + track.MediaByService("Youtube")[0].ServiceID + "/0.jpg", alt=track.Title)
button.soundtrack-play-button
RawIcon("play")