Using a custom Visualforce page and the HTML editor, you can insert videos from any provider into your Salesforce Knowledge articles.
Required Editions
| Available in Salesforce Classic and Lightning Experience. View supported editions. |
| User Permissions Needed | |
|---|---|
| To create a Visualforce page | Customize Application |
| To create articles: |
Manage Articles AND Read and Create on the article type |
| To edit draft articles: |
Manage Articles AND Read and Edit on the article type |
| To edit published or archived articles: |
Manage Articles AND Create, Read, and Edit on the article type |
For example, create a Visualforce page:
<apex:page showHeader="false" showChat="false" sidebar="false">
<iframe width="560" height="315"
src="http//myvideo.provider.com/embed/{!$CurrentPage.parameters.VideoID}"
frameborder="0" allowfullscreen="true">
</iframe>
</apex:page>
Then, with the HTML editor, authors can reference videos using this code:
<iframe frameborder="0" height="315"
src="https://MyDomainName.my.salesforce.com/apex/Video?videoID=12345"
width="560">
</iframe>