WebSite X5Help Center

15 RéPONSES - 1 CORRECT
Axel  
Axel  
User
Auteur
Meilleur utilisateur du mois FR

Salut Jipé,

Merci pour le lien... Mais marche pas dans mon exemple !! yell

Maybe KolAsim.tongue-out

I added the code from second Jipe's link here https://www.lucasfalck.fr/index2.html

Lire plus
Posté le de Axel  
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Wsx5.afsoftware.fr  
... ... ...  Maybe KolAsim. ... ... 

...!... x loader ...?... 
1) - utilisez une image GifAnim comme arrière-plan de la cellule;
2) - ou (x index2.html)  collez ce code dans: Expert | Avant de fermer le TAG /HEAD:

<style> #imPageRowGraphicsVideo_2 {background: url('http://www.kolasim-zone.it/loader.gif') no-repeat center center; background-size: 30%;} </style>

.

ciao

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
Axel  
Axel  
User
Auteur
Meilleur utilisateur du mois FR

Noooooooyell

index2.html updated... Line 60

Lire plus
Posté le de Axel  
Axel  
Axel  
User
Auteur
Meilleur utilisateur du mois FR

Hey KolAsim... OK for you !!!

not for me (Chrome, Firefox ...)

When I check with precision the gif is displayed les s1 s just before the video is running. But not during loading

idea ? wink

Lire plus
Posté le de Axel  
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... x 15 seconds:

<style>
#imPageRowGraphicsVideo_2_wrapper:after {content:"";position:absolute;z-index:100;width:100%;height:100%;top:0px;left:0px;background: url('http://www.kolasim-zone.it/loader.gif') no-repeat center center; background-size: 30%; -webkit-animation: fadeout 15s linear 1 forwards; animation: fadeout 15s linear 1 forwards;}
@-webkit-keyframes fadeout { 1% { opacity: 1; } 50% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fadeout { 1% { opacity: 1; } 50% { opacity: 1; } 100% { opacity: 0; } }
</style>

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
Axel  
Axel  
User
Auteur
Meilleur utilisateur du mois FR

Yes & No.

With this code the gif is displayed on the starting video and disappears after 15s the video running in background

I will prefer just the gif during video pre-loading and when the video is started the gif disappears

in any case..many thanks for your useful help tongue-out

Lire plus
Posté le de Axel  
Axel  
Axel  
User
Auteur
Meilleur utilisateur du mois FR

Hooo...thanks Claudio... wink

Lire plus
Posté le de Axel  
Claudio D.
Claudio D.
Moderator
Meilleur utilisateur du mois IT

Hello ! but on my website with your video does it seem to work?

Lire plus
Posté le de Claudio D.
Axel  
Axel  
User
Auteur
Meilleur utilisateur du mois FR

kolAsimmmmmmmm wink

an idea ?

Lire plus
Posté le de Axel  
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Wsx5.afsoftware.fr  
kolAsimmmmmmmm an idea ?

... Je ne peux pas vérifier la vidéo car mon Firefox ne voit pas MP4 mais seulement les vidéos WEBM ...
... Cependant, le préchargeur de page normal fonctionne, mais cela n'a rien à voir avec mon code qui a d'autres objectifs ...

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
Axel  
Axel  
User
Auteur
Meilleur utilisateur du mois FR

OK.. thanks again for your help in anycase. wink

Lire plus
Posté le de Axel