How to Remove Scrollbar from Iframe using EmbedVideo - Community forums - Akumina Community

Community forums

Forum Navigation
You need to log in to create posts and topics.

How to Remove Scrollbar from Iframe using EmbedVideo

Hi,

i'm trying to remove scrollbar from iframe. i set iframe height as 100%. but when i check in console it taking as 822px. when i set height = 5000px. in this condition, it removes the scrollbar but small form(has size 500px only ) showing as large area blank.

Code :

<div style='position: relative; padding-bottom: 100%; overflow: hidden;'>
<iframe width={{width}} src="{{URL}}" frameborder="0" style='position: absolute; top: 0; left: 0; right: 0; bottom: 0; max-width: 100%; border-radius:10px; height:100%'  name="{{name}}"></iframe>
</div>

Thank You !

//]]>