Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Adding Playlist to a User Profile

  • Xlym
  • Xlym
  • OFFLINE
  • Posts: 52
  • Thanks: 10
  • Karma: 0
4 months 2 weeks ago #338815 by Xlym
Adding Playlist to a User Profile was created by Xlym
I followed the adding a YouTube playlist to user profiles: 
It did not work as there was a message indicating that Flash is no longer supported. 

Is there an updated way to add a YouTube playlist to user profiles?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
4 months 2 weeks ago - 4 months 2 weeks ago #338827 by krileon
Replied by krileon on topic Adding Playlist to a User Profile
Well that's from 9 years ago so may not be entirely relevant now. Now you just need to use the embed feature at YouTube and copy over the HTML to your Custom HTML field and that's it. If you want to allow users to do this themselves you'd need to substitute in the relevant information like the embed URL from a text field for example then assemble that in either the fields layout or a Custom HTML field. You could also look into using CB Gallery and just let them link directly to videos easily.


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.
Last edit: 4 months 2 weeks ago by krileon.

Please Log in or Create an account to join the conversation.

  • Xlym
  • Xlym
  • OFFLINE
  • Posts: 52
  • Thanks: 10
  • Karma: 0
4 months 2 weeks ago - 4 months 2 weeks ago #338838 by Xlym
Replied by Xlym on topic Adding Playlist to a User Profile
Using the abovementioned "Video" instructions, a user's playlist can be shown in their profile, using the following code:
Code:
[cb:if cb_embed_code_favorites!=""] <iframe width="275" height="154.69" src="https://www.youtube.com/embed/[cb_embed_code_favorites]" frameborder="0" allowfullscreen></iframe>[/cb:if]

How can I make the text field title disappear when no embed code is entered into the embed code field?
Last edit: 4 months 2 weeks ago by Xlym.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
4 months 2 weeks ago #338843 by krileon
Replied by krileon on topic Adding Playlist to a User Profile
Add [cb:else][value][/cb:else] just before [/cb:if] for it to continue to output normal field display if there's no value.


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.

Please Log in or Create an account to join the conversation.

  • Xlym
  • Xlym
  • OFFLINE
  • Posts: 52
  • Thanks: 10
  • Karma: 0
4 months 2 weeks ago #338846 by Xlym
Replied by Xlym on topic Adding Playlist to a User Profile
I added the code as instructed. 

Now, "[value]" appears when the YouTube embed field is left empty. 
Attachments:

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
4 months 2 weeks ago #338847 by krileon
Replied by krileon on topic Adding Playlist to a User Profile
Is this in a Custom HTML field or the layout parameters of cb_embed_code_favorites? You shouldn't need a Custom HTML field as you can use the layout parameters of cb_embed_code_favorites to alter its profile display and that is where [value] would work. For Custom HTML fields in the cb:else just put whatever you'd like it to display if there is no cb_embed_code_favorites value.


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.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum