We are working on redesigning our community portal and we would like to include a video widget or a YouTube video in the right panel as shown in the below screenshot.
Can someone please guide how to achieve this ?
Including a YouTube Video on the Community Home Page
Srujan_Madderla is looking to add a YouTube video or video widget to the right panel of their community portal. Arkshine suggests using the Right Sidebar Blocks component and adding a custom HTML block with the video HTML. However, Srujan_Madderla encounters issues with the video not playing.
Akshine provides a solution by suggesting to embed the YouTube video and copying the HTML content. This involves:
Share and selecting Embedwidth and height attributes to fit the sidebarSrujan_Madderla confirms that this solution works.
Hi,
Since you are using the Right Sidebar Blocks component, you can do the following:
blocks settingsname → custom-htmlparams, you add content and as value you can insert your video HTML:<video controls preload="metadata" width="100%">
<source src="your_link_to_the_video_here" />
</video>
For example:
From my dev forum:
I have tried using the below snippet but the video is not playing.
<video controls preload="metadata" width="100%">
<source src="https://www.youtube.com/watch?v=mw3gVF4U-FM" />
</video>
Can someone please help us on priority ?
Can I suggest you post in Marketplace if you need help from an expert urgently?
Thank you it worked for us