Announcement

Collapse
No announcement yet.

How to embed a video into a record such as knowledge base article?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to embed a video into a record such as knowledge base article?

    [searched whole forum, can't find a solution]

    Hey guys, simple task that I can't resolve yet, add vimeo/youtube videos to a knowledge base article.
    I tried by adding WYSIWYG field with, w/out iframe enabled, I just can't embed the video

    It's a simple knowledge base article, but I need a video from a YouTube to be embedded above the article's text, not an attachment.
    Not a dashlet. Could be a side element, but belonging to the record.

    Example:
    <iframe width="560" height="315" src="https://www.youtube.com/embed/dQw4w9WgXcQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

    Thanks
    Last edited by Russ; 09-29-2022, 10:36 PM.

  • #2
    This should work with the HTML Video Tag:

    Code:
    <video controls="" height="240" width="320">
    <source type="video/mp4" src="path/to your/video">
    <source type="video/ogg" src="movie.ogg">
    Your browser does not support the video tag.
    </video>
    Maybe you will have to upload the video first (e.g. in the documents), grab the ID and put that into the path as well. I did not test this, but should work.​

    Comment


    • #3
      Thank you so much, but is there a way embed a youtube video? Since youtube has all the company videos already..

      Comment


      • #4
        normally that should work with an iFrame, but obviously the editor strips everything like an iFrame. I did not find how to prevent that.
        One workaround could be, that you put instead an image (screenshot) of your video and link that to the youtube video.

        Comment


        • #5
          Thanks shalmaxb!
          No other options?

          Comment


          • shalmaxb
            shalmaxb commented
            Editing a comment
            unfortunately not
        Working...
        X