Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Product video disappearing from product page when its purchased

Home / Forums / Virtue Theme / Product video disappearing from product page when its purchased

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme
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=” 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=” 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.

  • The forum ‘Virtue Theme’ is closed to new topics and replies.