You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

  • Support
  • Forum
  • JCE Editor
  • Joomla 3 video being stripped out even though Global Settings allow it and user category is set to No Filter

Support is currently Offline

Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)

Please post your question in the Forum and we will get back to you as soon as we can.

  Monday, 29 May 2023
  17 Replies
  694 Visits
I have an issue in the USER side where use of the video icon to display a video in an article is being stripped out. I've tried adding embed code for Vimeo directly as well and both get stripped completely out upon saving.

What I have done:

I followed the instructions on the FAQs "Video removed on saving" and changed the relevant group to "No Filtering."

I then saved and logged out of both the user log in as well as the admin side.

I tried a different browser and the behavior is the same in both Chrome and Firefox.

THE FOLLOWING WORKED:

I tried adding the video as ADMINISTRATOR and THAT WORKED...

This makes me think that the problem is where in the USER hierarchy I have the "Current Subscriber" category placed. I've included a screenshot of the user groups.

Can one of you wizards out there help me fix this issue? I would greatly appreciate your help.

Regards,
"Stumped"

2023-05-29-user group settings.jpg
more than a month ago
·
#113895
Accepted Answer
Thanks Ryan,

I have made the change to the iframe from the Extended Elements list in both the JCE profiles.

The editor is being used in Community Builder's blog panel. After digging forever, I found that Community Builder does filter out some elements. I allowed iframes and voila, problem solved.

You are a genius, I didn't think about that wrapper doing additional filtering beyond what JCE was doing. I'll be darned, it has never come up until now even after 11 years of using it. Familiarity makes some things invisible... and yes, those things are out to get you.


Until some other mystery presents itself, you can mark this as "RESOLVED"

Many thanks again for your dogged determination to help me get to the bottom of the problem and fix it. Darn impressive!
more than a month ago
·
#113858
Do you have more than 1 JCE Editor Profile enabled, perhaps one assigned to your "Current Subscriber" group?

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#113859
I tried adding the video as ADMINISTRATOR and THAT WORKED...

This makes me think that the problem is where in the USER hierarchy I have the "Current Subscriber" category placed. I've included a screenshot of the user groups.


It looks like "Current Subscriber" is a child of the "Registered" group, but this shouldn't make a difference as far as I am aware.

FYI - It looks like you have an invalid value in the Filter Tags field for the "Registered" group with the "No HTML" value. If you want this group to not use HTML, then set the Filter Type to No HTML.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#113860
HI Ryan,

Thanks for getting back to me. Your help is very much appreciated.

I have removed the NO HTML entry from tags and made sure that it was not on current subscribers.

There is only one profile for current subscriber group.

JCE seems to instantly strip out the media code still. I've used the media icon and also tried an iframe, same result.

The following shows the user groups after making the suggested changes.

Ideas?

thanks again!

2023-05-29-user group settings-UPDATED.jpg
more than a month ago
·
#113862
JCE seems to instantly strip out the media code still. I've used the media icon and also tried an iframe, same result.


Does this only happen on saving or when you insert the code? Is the code still visible when you view the html in the Code tab?

Please ensure you set the Allow IFrames options as required as specified here - https://www.joomlacontenteditor.net/support/faq/editor/iframe-removed-on-saving

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#113875
Thansk for the help Ryan, much apppreciated!

The code is still visible when viewing it in the Code tab.


On saving, the code is stripped.

Hope this helps run it down.

2023-05-30-code shows until saved.jpg

2023-05-30-code removed after save.jpg
more than a month ago
·
#113876
On saving, the code is stripped.


Then it is most likely the Joomla Text Filter removing the code.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#113877
I agree, now the question is why the settings in the Joomla Text Filters are not working on the front-end Current Subscribers group even though it is set to "No Filtering"

I went back and checked the settings, cleared the cache, cleared the browser cache, and it's still filtering out iframes.

Is there any other location where this could be happening globally you can think of?

Any ideas would be helpful....
more than a month ago
·
#113878
Is this an active site with active users? If not, then you could set each user group to No Filtering, and then back to Default Blacklist in turn as you attempt to save an iframe until you find the user group causing the issue.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#113879
Hi Ryan,

Good idea. I set all groups to no filtering and the code removal still happens.

So, it's not the group settings it seems. I am stumped at where else to look for a setting that is causing this.

I looked at the settings in the JCE profiles for front-end users. I've attached screen captures of the settings there so you can see if my misconfiguration is the problem.

I'll send the final settings file capture separately...

2023-05-30_JCE EDITOR PROFILE SETTINGS 1.jpg
more than a month ago
·
#113880
Here is the final settings file...
more than a month ago
·
#113881
Move the Front end profile so it is above the Admin profile. Probably won't make a difference but is good practice to have the most restriced profile the first in the list.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#113882
Thanks Ryan, I assume you are referring to the JCD Admin profiles. If so, how can i rearrange the order of the profiles? I don't see a way to do that....
more than a month ago
·
#113884

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#113886
Thanks for the explanation, moved the profile so the Front end profile is first, admin second.

Attached are the setting files.
more than a month ago
·
#113890
The one thing I can see from the profiles is that for both, in Editor Parameters -> Advanced, you have added "iframe" to the Extended Elements list. This is not necessary and should be removed, as it can actually interfere with proper processing of iframes.

Other than that, everything else looks OK and shouldn't be causing an issue with iframes.

If you can send me a login I can take a closer look - https://www.joomlacontenteditor.net/contact/site-login

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#113894
I did a test with your profiles and a "Subscriber" usergroup which was set up as a child of the "Registered" user group, as in your images. The group was given No Filtering on the Text Filter, and I edited a front-end artice to add a Youtube iframe, via the Code tab.

Flipping between Code and Editor the iframe was retained, and it was also visible after saving.

Are you creating the content with the Joomla Article Manager, or some other extension?

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#113895
Accepted Answer
Thanks Ryan,

I have made the change to the iframe from the Extended Elements list in both the JCE profiles.

The editor is being used in Community Builder's blog panel. After digging forever, I found that Community Builder does filter out some elements. I allowed iframes and voila, problem solved.

You are a genius, I didn't think about that wrapper doing additional filtering beyond what JCE was doing. I'll be darned, it has never come up until now even after 11 years of using it. Familiarity makes some things invisible... and yes, those things are out to get you.


Until some other mystery presents itself, you can mark this as "RESOLVED"

Many thanks again for your dogged determination to help me get to the bottom of the problem and fix it. Darn impressive!
Redskeeter selected the reply #113895 as the answer for this post — 6 months ago
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!