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?
[Solved] Insert/Embed Media not allowing fullscreen
-
- Ensign (ENS)
- Posts: 18
- Joined: Fri Apr 20, 2018 7:32 am
[Solved] Insert/Embed Media not allowing fullscreen
Last edited by Christopher Kiraly on Wed Mar 18, 2020 9:38 am, edited 1 time in total.
Re: Insert/Embed Media not allowing fullscreen
Hi,
Please share some sample HTML code you are trying to save.
Thanks,
Please share some sample HTML code you are trying to save.
Thanks,
Thanks for your support
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
-
- Ensign (ENS)
- Posts: 18
- Joined: Fri Apr 20, 2018 7:32 am
Re: Insert/Embed Media not allowing fullscreen
Code: Select all
<h1>Tutorials & 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>
Code: Select all
allowfullscreen
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...
Re: Insert/Embed Media not allowing fullscreen
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"
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"
Thanks for your support
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
-
- Ensign (ENS)
- Posts: 18
- Joined: Fri Apr 20, 2018 7:32 am
Re: Insert/Embed Media not allowing fullscreen
Thank you very much! This solved the problem.