Embed uploaded videos to IBM Connections blog post or wiki page

by Christoph Stoettner
Read in about 1 min · 149 words


Photo by Donovan Silva | Unsplash

Here for example embedding a video to a blog post. Prerequist is that you’ve no fear to change some html source.

  • Upload the video to the Files application in Connections
    • All blog readers need to have access to the video file
    • Easiest way is to upload to Community files and use it in the Community blog directly in this community
  • Open the file within IBM Connections Docs Viewer and click on ABOUT – Get Links

    screen 20180205 093813 001

  • Copy the “Link to download file:” to the clipboard

    screen 20180205 093721 001

  • Now create a new blog post (add heading, tags, additional text)
  • Switch to the HTML view in the post

    screen 20180205 094029 001

  • On the position where you want to add the video, add following source:
<video src="url from files viewer" controls="" width="640px"></video>
  • Example:
<video src="https://connections.example.com/files/form/anonymous/api/library/6722626c-b14c-4f4e-80fc-f27f71ad2cb9/document/512adfd2-1d30-4a3d-92ee-13db1f5f0574/media/2018-01-22%20Call%20February%202016.mp4" controls="" width="640px" height="480px"></video>
  • Post the document

    screen 20180205 094713 001


Thanks to Urs for the comment, I updated the code so it is valid XHTML now.

Edited on 22.02.2022
Wednesday, 9. Feb 2022 10:27

Hi Stoeps

At least in Connections 7 the video tag should be changed from <video src="url from files viewer" controls width="640px"></video> to <video src=“url from files viewer” controls="" width=“640px”></video>

Otherwise you’ll get the nasty “Please ensure the page source is valid XHTML. Switching to rich text mode from source mode will convert HTML to XHTML” error…

There was an error sending your comment, please try again.
Thank you!
Your comment has been submitted and will be published once it has been approved.

Your email address will not be published. Required fields are marked with *

Suggested Reading
Card image cap

In late 2021 I had an HCL Connections environment starting swapping, because the AppCluster used more than 30 GB of memory.

The system has

  • two nodes
  • is installed with the medium-sized deployment option
  • About 7500 users with a high adoption rate, because Connections is also used as intranet
Read in about 5 min
Aaron Burden: Fountain pen and a notebook
Last week a new blog editor for offline blogging has announced IBM Connections blogs support. Blogsy is a nice tool and costs about 4€ in apple app store. My first tests are not very good, because Blogsy 3.3 has problems with multiple Blogs in IBM Connections. Only one day later, after some comments in Blogsy Blog, a new version can be downloaded from Appstore. Blogsy 3.3.1 can handle multiple Connections blogs, but the App crashes right after uploading a new post. I hope they will make a updated version soon. I enjoy offline blog editors very much, because i can prepare articles on train and upload them later after i found a free WLAN.
Read in about 1 min
Card image cap

Today I got the question of how to disable the highlights app in Connections 7. When you follow the documentation for Connections 6.0CR6 you get an error message (and the document is not available in Connections 7).

I commented out the widget definition in widgets-config.xml like described in the documentation for the former release.

Read in about 2 min