October 16, 2018 at 3:33 am
Hello Ben,
Could you please help me with this issue.
I have this code that was given to me a long time back that is used on every product page to display a video on it:
<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 5%; width: 90%; height: 90%; }</style>
<div class=”embed-container”><iframe src=”*Login to see link width=”300″ height=”169″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe></div>
I have noticed that when a product is purchased, some part of the code, just disappears and the video is not visible anymore on the frontend of the site. Instead half part of the code is seen on the frontend of the site, on that product page.
The part of the code that disappears is this :
<iframe src=”*Login to see link width=”300″ height=”169″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe>
What can I do to prevent this from happening?
Any suggestions would be appreciated.
Thanking you in anticipation.
Kind Regards.