Add Videos
If you are publishing to HTML or HTML5, you can add links to videos to your topics. When you publish your content to a web server, the videos will appear on your pages as embedded content.
Paligo supports videos on YouTube, Vimeo, Wistia, or Microsoft Stream. If you want to use another video service, it may be possible, but could require a customization (contact support for advice).
(Microsoft Stream videos require that the user has an account to view the video.)
Tip
If you also publish to PDF, the video will appear, but as a hyperlink to the video. By default, the link text will display the url, but you can add a caption
in your mediaobject
element, an alternative image to display, or the alt
or textobject
elements (if you don't want a caption in HTML output).
-
Select the video icon in the toolbar:
.
A video frame appears.
-
Select the frame to display a popup toolbar, and insert the link to the video.
-
For YouTube, use the share link.
-
For Vimeo use the embed link.
-
For Wistia, you can use either the regular Inline embed, or the iFrame (fallback) embed link:
Only get the url from the
src
attribute in the script tag (ending with .jsonp), or thesrc
attribute in theiframe
element for the iFrame fallback version. Read more about the types here: Inline embed, Fallback (iframe) Embed.Note
The Wistia video embed is by default responsive, adapting to the size of the screen. But it has a default
max-width
value set to 620px. If you want to change that default width, override this property in your CSS:.video-container.wistia{ max-width: 620px; }
If you want it to utilize the entire screen space, just set the value to
none
.
-
-
Save, and the preview of the video appears for YouTube and Vimeo videos.
Microsoft Stream and Wistia currently do not show you the preview in the editor, but will work just fine when you publish.
When you publish to HTML or HTML5 you should now see the video embedded in your content.
Note
If you are publishing videos to Zendesk, but cannot see them, you need to enable videos in the Zendesk settings: Why are videos not displaying in Help Center?
It is also possible to set options for your video, for some of the available video formats. For example if you want the video to start playing as soon as the page is viewed, or if you want it to start at a particular time into the video. This is done a bit differently depending on what video platform you use:
-
Add a "querystring" at the end of the embedcode, e.g
?autoplay=1
to autoplay the video. -
To add more than one option, add them with an ampersand after the first option, e.g
?autoplay=1&start=34
. Note that the start time option does not use any unit, just specify it as the number of seconds.Tip
See YouTube Embedded Players and Player Parameters for a complete list of possible options.
-
Set options the same way as for YouTube videos, with the exception that start time uses a hash (
#
) instead of a question mark or ampersand (for example,#t=1m2s
)Tip
See Using Player Parameters for a complete list of possible options.
-
Add an
autoplay
attribute.(Note that it is used for more options than just autoplay)
-
Set the options according to the format specified by Wistia, but separated with semicolons, e.g
autoPlay=true;time=0m34s
to set it to autoplay and start at 34 seconds in. Take care to use the correct capitalization of the properties.Tip
See Embed Options and Plugin for a complete list of possible options.