Skip to content

Commit fec37ba

Browse files
committed
Enable mobileFallbackImage option for better eyecatch in mobile
1 parent 06cc27d commit fec37ba

7 files changed

+1
-1
lines changed

img/why-coderdojo-wall-1.jpg

212 KB
Loading

img/why-coderdojo-wall-2.jpg

212 KB
Loading

img/why-coderdojo-wall-3.jpg

552 KB
Loading

img/why-coderdojo-wall.png

635 KB
Loading

img/why-coderdojo-wall.pxd

5.07 MB
Binary file not shown.

img/why-coderdojo-wall.webp

181 KB
Binary file not shown.

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
<div class="overlay"></div>
148148
</div>
149149

150-
<div id="youtube_video_player" class="player" data-property="{videoURL:'{{ site.eye_catch_video }}',containment:'#header_youtube',startAt:0,mute:true,autoPlay:true,loop:true,useOnMobile:true,opacity:1}"></div>
150+
<div id="youtube_video_player" class="player" data-property="{videoURL:'{{ site.eye_catch_video }}',containment:'#header_youtube',startAt:0,mute:true,autoPlay:true,loop:true,useOnMobile:true,mobileFallbackImage:'/img/why-coderdojo-wall.webp',opacity:1}"></div>
151151

152152
<!-- NOTE: Moved to the end of of 'top'. -->
153153
<div id="header">

0 commit comments

Comments
 (0)