Seeking assistance with embedding an html5 animation in a WordPress website using an iframe. The issue is that the width reduces unless the height of the iframe is set.
Despite trying various solutions, I am unable to get the scroll to appear and maintain 100% width. It consistently reduces the width instead.
Check out the webpage here
Identified a possible conflict within my animation code:
<div id="animation_container" style="background-color:rgba(255, 255, 255, 1.00); width:960px; height:1615px">
<canvas id="canvas" width="960" height="1615" style="position: absolute; display: none; background-color:rgba(255, 255, 255, 1.00);"></canvas>
<div id="dom_overlay_container" style="pointer-events:none; overflow:hidden; width:960px; height:1615px; position: absolute; left: 0px; top: 0px; display: none;">
</div>
</div>
<div id='_preload_div_' style='position:absolute; top:0; display: inline-block; width: 960px; text-align: center;'> <span style='display: inline-block; height: 100%; vertical-align: middle;'></span> <img src=images/_preloader.gif style='vertical-align: middle; max-height: 100%'/></div>
Additionally, attempted to enable animation progression on scroll but encountered challenges in implementation!