You need to sign in to do that
Don't have an account?
seahorce
Embedded Video in New Knowledge Base
Has anyone embedded video in the new Knowledge Base app? I found an idea related to it, so I'm guessing it's not possible through the delivered article managment UI where the end user could easily embed the video themselves. I'm sure it's possible with VF, but haven't seen anyone else who has done it.
Here's the link to the idea: Embed Video in Knowledge Base
SeaHorse,
In order to achieve this with the current version of Knowledge, you need to:
- add a text field to the article type, the user will for example copy and paste the embed code for a youtube video
- build a custom template in VisualForce.that will output the content of that text field without escaping
Etienne
Here is it what I did:
1. First, in the Rich Textarea of my Article I wrote down my video like this:
<div class="youtube">http://www.youtube.com/embed/vs9uzuRRrsU</div>
2. I created a Visualforce as a Template for my articles types
3. In the Visualforce I wrote:
So when the article is rendered, It is shows with the youtube video frame.
:)
Good Luck.
Hi,
I've been trying to figure out how to embed videos in a Knowledge Article. I followed your directions in creating the Visualforce Page. However, how do I set it so that when I click on the article, it uses the Visualforce page to render it?
Thannks.
You have to use visualforce template for the article type. In your visualforce set your article type as StandardController, for example: standardController="FAQ__kav"
Anyway... On Summer '12 release salesforce is including support for html <iframe> tag, to embed multimedia content in articles:
Release Notes:
https://prerellogin.pre.salesforce.com/help/doc/en/salesforce_summer12_release_notes.pdf
:)
Regards
So I go to Setup->Knowledge->Article Types and then I click on the button that says "New Article Type." I don't see anywhere to select the Visualforce page I created as the template for me knowledge article.
What do you mean by this? I already created a new Visualforce page in Setup->Develop->Pages that looks like the example you have above.
Look at the top of the visualforce:
"Faq" is the name of my Article Type, that is how salesforce links your visualforce to the article type.
For selecting the VF as template you need to open the Article Type's definition (Customize > Knowledge > Article Types > Your Type), and on the bottom you will find a section called "Channel Display", you have to edit it and set your visualforce's page.
Ok, I've got the Knowledge Article set up so that it uses my VF page as a template now. However, the video isn't showing up embedded. I just get a blank page.
My Article Type is "Video_Tutorial". I have a Rich Text Area with the label of "Tutorial" and a API Name of "Tutorial__c". In my Rich Text Area I have this:
My Visualforce page is named "VideoTutorialsPage". This is what it looks like:
This is how I have my Channel Displays setup:
I think you missed the:
after the <apex:form> tag.
When I add that back in, I just get the text in my Tutorial field displayed on the screen.
This is how you VF has to look:
Regards.
That's what it looks like. I just get the text displayed, I don't have a embedded video.
Mmmm... maybe you are getting a JavaScript error. Please, check it with the Firefox's Errors Console.
https://www.lespannes.fr/kenmore/lave-vaisselles/
https://geometrydash-free.com