You are here:
Use Videos from Any Provider with a Custom Visualforce Page
Using a custom Visualforce page and the HTML editor, you can insert videos from any provider into your Salesforce Knowledge articles.

Use more general search terms.
Select fewer filters to broaden your search.
You are here:
Using a custom Visualforce page and the HTML editor, you can insert videos from any provider into your Salesforce Knowledge articles.
| 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>

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.