Skip to main content

Hello Docebo Community,

I have a question about controlling visibility within HTML page widgets:

I need to display two different videos on the same page and restrict access to each video based on user groups. Specifically:

  • Video A should be visible only to Group 1
  • Video B should be visible only to Group 2

I understand that Docebo doesn't support JavaScript in HTML widgets. However, I'm looking for a solution to control visibility of different content within the same widget.

Is there a way to achieve this? Perhaps through:

  • HTML/CSS tricks
  • Alternative widget types
  • Widget configuration options I might have missed
  • Other creative solutions

Any suggestions would be greatly appreciated!

Thank you in advance for your help!

 

Short answer: no, there isn’t a way to control visibility of content based on groups within the same HTML widget.
Only two options that I can think of:

  1. Duplicate the Page: create two separate pages, each with its own menu. One menu is assigned to Group 1 with the corresponding page and widget for that group, and the other menu is for Group 2 with its own page. 

  2. Use Language-Based Display: displaying different content based on language settings by un-flagging the option to display content for all languages.

  •  


Reply