Im having issues getting my embeded video centered using the video element. I will only justify to the left. Any ideas how I can get the video centered? The website is https://powerhousesolar.com/
Hey @IRGmarketing,
Thanks for reaching out!
Instead of using <style>.cgi-rt{position:relative;pointer-events: none;height:540px;max-height:540px;max-width:960px;}@media only screen and (max-width: 510px){.cgi-rt{max-height:255px;height:255px;}}</style><div class="cgi-rt"><iframe style="pointer-events: auto;position:absolute;top:0;left:0;width:100%;height:100%;border:0;box-sizing: border-box;max-width: 960px!important;max-height: 540px!important;background: transparent!important;" height="540" width="960" id="rtplayertWS" type="text/html" src="https://elocallink.tv/e/?v=tWS&r=1&mid=219540&ap=1" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></div>
You just need this iframe code: <iframe height="540" width="960" id="rtplayertWS" type="text/html" src="https://elocallink.tv/e/?v=tWS&r=1&mid=219540&ap=1" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
Hope that helps.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.