2
I’m using a video using the library material design bootstrap
The problem is that the video quality looks different when I run in the browser and in a video player:
Image in the browser:
Image in video player:
My html code:
<section class="view intro-video">
<a class="ancoraDesceConteudo" href="#sobreApp">
<i class="fa fa-hand-o-down icondesceconteudo animated bounce infinite" aria-hidden="true"></i>
</a>
<video poster="https://i.imgur.com/3QIi6Xd.jpg" oncanplay="this.muted=true" playsinline autoplay muted loop>
<source src=".../../assets/animals.mp4">
</video>
</section>
My css:
.view img, .view video {
position: relative;
display: block;
min-width: 100%!important;
}
.intro-video{
height: inherit;
}
.ancoraDesceConteudo{
display: flex;
justify-content: center;
}
There is some technique to improve the image in the browser or some explanation that makes the image so different in the browser and the player?
That’s funny. I’ve tried several videos in the browser and never saw a difference when running on a :D player
– Sam
It seems to me you’ve applied some
filter
in its element, if not in the video maybe in some parent element of the video...– hugocsl
Make sure the material design bootstrap is not using any Filtre type as @hugocsl commented: https://mdbootstrap.com/docs/jquery/content/images/#overlays
– Salatiel Queiroz
I tested it here and it was normal. The problem is some other CSS you are using there. MDB does not put this effect by default in the videos no! Put your entire CSS there that will help you answer
– hugocsl
Apparently it is the browser, when I use Opera the image becomes clearer, terrible, when I use firefox becomes normal, I wanted to know how to fix it in opera, I think it is some configuration
– veroneseComS