Blank space after Facebook iframe videos on mobile version -


i've been looking way fix this, searching here, no fix work !

i'm running issue facebook iframe video integrated on website ! (a blog)

it's displaying ok on desktop version but, when resizing window, or going on mobile version, there huge blank space created below iframe. inside iframe , have no control on it.

desktop version looking fine

mobile version huge blank space below

here iframe :

<iframe class="iframe" style="border: none; overflow: hidden;"          src="https://www.facebook.com/plugins/video.php?href=https%3a%2f%2fwww.facebook.com%2fsalutparisfr%2fvideos%2fvb.1523831884576352%2f1642593346033538%2f%3ftype%3d3&amp;show_text=0&amp;width=400"          width="600" height="460" frameborder="0" scrolling="no"          allowfullscreen="allowfullscreen"></iframe>

here css code :

.iframe {      display: block;      margin: 0 auto;  }

note: changing values in iframe code didn't trick deleting iframe css classes didn't either !

tried changing heigh value of iframe "100%", turned out :

desktop version

mobile version

it seems facebook iframe broken internally ?! vimeo , youtube iframes work perfectly...

any idea ?

thanks !


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -