Symptom
How to add a video on the News Page?
Environment
SAP SuccessFactors Learning
Resolution
LMS News Page supports HTML with embed video.
Before proceed, make sure you are familiar with HTML coding and that you know how to edit the News Page. If not, please read the corresponding KBA:
There are many ways to add a video trough HTML code, here are some examples.
- The following code (in blue) is for adding a video in mp4 format:
<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
Where "movie.mp4" should be the full URL to your video.
- The following code (in blue) is for adding a video hosted on Youtube:
<iframe width="420" height="315"
src="https://www.youtube.com/embed/YOURVIDEOID">
</iframe>
Note: for the video to work, the URL MUST begin with https://www.youtube.com/embed/ and replace YOURVIDEOID with the video ID. For example:
if your video URL is https://www.youtube.com/watch?v=dkYiGA_Uksk
then dkYiGA_Uksk is your video ID, therefore, the URL to insert after "src=" should be
https://www.youtube.com/embed/dkYiGA_Uksk
Keep in mind that the video you will be adding must be accessible from your company's network, we suggest to test the video link first before changing the code of the News Page. The LMS has no limitations for this.
IMPORTANT: Customization of the HTML code of the News Page falls off of the focus of the SAP Support team. For further assistance, the community or someone with HTML knowledge can be contacted.
Keywords
Add, video, MP4, Youtube, videos, embedded, embed, video, news, landing , KBA , LOD-SF-LMS-COR , LMS Core - Items, Catalog, Curricula , LOD-SF-LMS , Learning Management System , How To