Is there a way to allow the storage of embed codes in fields created with Community Builder?
While I can display the Apple Music preview player on the TinyMCE editor by enabling iframe usage in Joomla and TinyMCE, the embed codes disappear from the editor upon saving the profile. If possible, I would like to input and save embed codes via a Text Area instead of an Editor Text Area.
Use a Custom HTML field, which don't do any content filtering beyond whatever filtering your WYSIWYG editor does. I do not recommend letting users add iframes to editor text area fields as you're basically adding a security vulnerability to your site by doing so, but if you insist on doing this you can adjust "Exclude Tags from Filtering" in CB > Configuration > User Profile.
If you specifically need to allow embedding an apple music player from a specific album then you put 99% of the iframe in a Custom HTML field and give users a field to supply the album. You then substitute in the album into your Custom HTML field. This is the safer more secure way of doing this.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.