Skip to main content

Notifications

Power Apps Portals - Customer self-service portal: How to embed YouTube videos in Knowledgebase Article?

Section 1: Creating Knowledgebase Article:

 

  1. Open Customer Service Hub App 

ragavanrajan_0-1646710164838.png

  1. Under Knowledge > Knowledge Articles > New > Create a new article and hit save and publish

 

ragavanrajan_1-1646710206322.png

Section 2: Updating origins allow list for knowledge articles to embed YouTube

 

  1. Open the Customer Service hub application 
  2. Under Service management > Select settings > knowledge Base Management > Choose Settings
  3. Under Origins allow list > add the following URL's

 

https://www.youtube.com/ and https://www.youtube.com/embed/ 

 

ragavanrajan_2-1646710281015.png

4. Click Save.

 

 

Section 3: Adding Video to Knowledge Base Article

 

  1. In the Customer Service hub application
  2. Under Knowledge > Knowledge Articles > Choose the article we have created in section 1.
  3. Under Content > From the Format toolbar > Click Video

ragavanrajan_6-1646710509028.png

 

4. Open youtube > pick your video > Click Share > Choose to embed > and copy the embed code ( like below) 

 

<iframe width="560" height="315" src="https://www.youtube.com/embed/_AjJ7dmu-cw" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

 

5. Paste the above embed code in the video URL and Click OK

 

ragavanrajan_4-1646710432565.png

 

Note: Don’t worry if your preview is throwing "Error Occurred" message

 

Section 4: In Portal Studio

 

  1. Pres sync configuration and browse the website. And press "Ctrl+F5" 

Output:

 

 

ragavanrajan_5-1646710482501.png

------------------------------------------------------------------------

Free pack of Power Apps portal and Power Platform cool stuff. Please consider subscribing by clicking here

 

Free pack of deep-dive sessions of Power Platform powered by key experts and MVPs.  Please consider joining the "Auckland Power Platform User Group"

Comments

*This post is locked for comments