File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 207207
208208 const container = document . getElementById ( "loading-media" ) ;
209209 const content = lang === "ja"
210- ? `<img src="loading-animation-ja.svg" loading="eager" fetchpriority="high" style="width: 100 %; height: 100 %; object-fit: contain;" alt="Loading animation">`
211- : `<video loop autoplay muted playsinline fetchpriority="high" style="width: 100 %; height: 100%; object-fit: contain;">
210+ ? `<img src="loading-animation-ja.svg" loading="eager" fetchpriority="high" style="width: 70 %; height: 90 %; object-fit: contain;" alt="Loading animation">`
211+ : `<video loop autoplay muted playsinline fetchpriority="high" style="width: 90 %; height: 100%; object-fit: contain;">
212212 <source src="loading-animation.webm" type="video/webm">
213213 <source src="loading-animation.mp4" type="video/mp4">
214214 </video>` ;
215- container . innerHTML = `<div class="media-wrapper" style="width: 100%; aspect-ratio: 16/9; display: flex; justify-content: center; align-items: center;">${ content } </div>` ;
215+ container . innerHTML = `<div class="media-wrapper" style="width: 100%; aspect-ratio: 16/9; max-height: 500px; display: flex; justify-content: center; align-items: center;">${ content } </div>` ;
216216 } ;
217217
218218 loadL10nSplashScreen ( ) ;
233233 loadingText . textContent = _ ( "Loading Complete!" ) ;
234234 loadingText . style . opacity = 1 ;
235235 } , 6000 ) ;
236- } , 4000 ) ;
236+ } , 3000 ) ;
237237 } ) ;
238238
239239 </ script >
You can’t perform that action at this time.
0 commit comments