[Solved] Insert/Embed Media not allowing fullscreen

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
Christopher Kiraly
Ensign (ENS)
Ensign (ENS)
Posts: 18
Joined: Fri Apr 20, 2018 7:32 am

[Solved] Insert/Embed Media not allowing fullscreen

Post by Christopher Kiraly » Mon Mar 16, 2020 12:33 pm

Let me get this out of the way:
AbleCommerce for ASP.NET
VERSION: 7.0.92.9476
Release Label: GoldR12SR2

We're adding a tutorials/videos page to the site, and have used both the html editor and the Insert/Edit Embedded Media button. After entering the media information (source, URL, dimensions, etc) I'm trying to add the 'allowfullscreen' parameter for the iframe, but it won't save.

No matter how I try to edit this, it doesn't save that attribute to the iframe.

What is being done wrong?
Last edited by Christopher Kiraly on Wed Mar 18, 2020 9:38 am, edited 1 time in total.

User avatar
Naveed
Rear Admiral (RADM)
Rear Admiral (RADM)
Posts: 611
Joined: Thu Apr 03, 2008 4:48 am

Re: Insert/Embed Media not allowing fullscreen

Post by Naveed » Mon Mar 16, 2020 11:34 pm

Hi,

Please share some sample HTML code you are trying to save.

Thanks,

Christopher Kiraly
Ensign (ENS)
Ensign (ENS)
Posts: 18
Joined: Fri Apr 20, 2018 7:32 am

Re: Insert/Embed Media not allowing fullscreen

Post by Christopher Kiraly » Tue Mar 17, 2020 1:34 pm

Code: Select all

<h1>Tutorials &amp; Videos</h1>
<div class="row">
<div class="col-md-6">
<div class="embed-responsive embed-responsive-16by9">
<iframe title="Airtronic Heaters: A Visual Inspection" src="https://www.youtube.com/embed/R6myWUdJIq4" frameborder="0" width="320" height="240">
</iframe>
</div></div></div>
If I enter

Code: Select all

allowfullscreen
(or any camelCase variant) right after the "240" in height, and click 'Update', it acts like it saved, but if I click the HTML button again, it's not there (looks just like above).

If I use the Insert/Edit Embedded Media button and get that screen, enter everything, and then on the Source tab, enter allowfullscreen, and Insert it, then it saves the embedded video - but it still doesn't save the allowfullscreen attribute...

User avatar
Naveed
Rear Admiral (RADM)
Rear Admiral (RADM)
Posts: 611
Joined: Thu Apr 03, 2008 4:48 am

Re: Insert/Embed Media not allowing fullscreen

Post by Naveed » Wed Mar 18, 2020 12:52 am

Hi,

For HTML editor we are using TinyMCE v 3.4.9 in AC gold R12 build. This seems a problem with TinyMCE, I checked its not saving the mentioned attributes for IFrame.

You have to disable the "WYSIWYG HTML Editor" support from store configuration page, and then you can enter your HTML in the text area field as plain text.

Navigate to Administration > Configure > Store > General

and at the bottom of the page there is an option to enable/disable the WYSIWYG HTML Editor, with label:

"Enable WYSIWYG Editor"

Christopher Kiraly
Ensign (ENS)
Ensign (ENS)
Posts: 18
Joined: Fri Apr 20, 2018 7:32 am

Re: Insert/Embed Media not allowing fullscreen

Post by Christopher Kiraly » Wed Mar 18, 2020 9:37 am

Thank you very much! This solved the problem.

Post Reply