fix(accueil) corrige la vidéo petites tailles d'écran
- n'utilise que des vidéos en MP4 x264
This commit is contained in:
parent
5ef4d5de3f
commit
a1192750cf
6 changed files with 3 additions and 1621 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -3,34 +3,9 @@
|
|||
|
||||
{% block contenu %}
|
||||
<main id="page-accueil">
|
||||
<video
|
||||
autoplay
|
||||
disablepictureinpicture
|
||||
id="intro-video"
|
||||
preload="auto"
|
||||
loop
|
||||
muted
|
||||
width="1280"
|
||||
height="720"
|
||||
>
|
||||
<source
|
||||
media="(width >= 600px)"
|
||||
src="{{ site.theme.link }}/assets/video/intro-desktop.m4v"
|
||||
type="video/mp4"
|
||||
>
|
||||
<source
|
||||
src="{{ site.theme.link }}/assets/video/intro-phone.m4v"
|
||||
type="video/mp4"
|
||||
>
|
||||
<source
|
||||
media="(width >= 600px)"
|
||||
src="{{ site.theme.link }}/assets/video/intro-desktop.webm"
|
||||
type="video/webm"
|
||||
>
|
||||
<source
|
||||
src="{{ site.theme.link }}/assets/video/intro-phone.webm"
|
||||
type="video/webm"
|
||||
>
|
||||
<video autoplay disablepictureinpicture id="intro-video" loop muted preload="auto">
|
||||
<source media="(width >= 600px)" src="{{ site.theme.link }}/assets/video/intro-desktop.m4v" type="video/mp4">
|
||||
<source src="{{ site.theme.link }}/assets/video/intro-phone.m4v" type="video/mp4">
|
||||
<p>Your device does not support videos.</p>
|
||||
</video>
|
||||
</main>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue