Power Apps Portals - Customer self-service portal: How to embed YouTube videos in Knowledgebase Article?
Section 1: Creating Knowledgebase Article:
- Open Customer Service Hub App
- Under Knowledge > Knowledge Articles > New > Create a new article and hit save and publish
Section 2: Updating origins allow list for knowledge articles to embed YouTube
- Open the Customer Service hub application
- Under Service management > Select settings > knowledge Base Management > Choose Settings
- Under Origins allow list > add the following URL's
https://www.youtube.com/ and https://www.youtube.com/embed/
4. Click Save.
Section 3: Adding Video to Knowledge Base Article
- In the Customer Service hub application
- Under Knowledge > Knowledge Articles > Choose the article we have created in section 1.
- Under Content > From the Format toolbar > Click Video
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
Note: Don’t worry if your preview is throwing "Error Occurred" message
Section 4: In Portal Studio
- Pres sync configuration and browse the website. And press "Ctrl+F5"
Output:
------------------------------------------------------------------------
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"
*This post is locked for comments