Skip to main content

Embed uploaded videos to IBM Connections blog post or wiki page

·150 words·1 min

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

Update
#

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

Christoph Stoettner
Author
Christoph Stoettner
I work at Vegard IT GmbH as a senior consultant, focusing on collaboration software, Kubernetes, security, and automation. I primarily work with HCL Connections, WebSphere Application Server, Kubernetes, Ansible, Terraform, and Linux. My daily work occasionally leads to technical talks and blog articles, which I share here more or less regularly.

Related

IBM Connections 6.0CR1 Allowlisting, CSS and Wiki TOC

·957 words·5 mins
So up to IBM Connections 6.0 everything was allowed until it was not excluded in one of the blocklist files. This files are stored within the Deployment Manager profile/config/cells/<cellname>/LotusConnections-config/extern. Now with Connections 6.0CR1 everything is forbidden, until it is enabled in the allowlist. This concept is rolled out for widgets (homepage and communities) and active content. Active content means HTML content too. So everything you or your users add to Connections (blog-posts, wiki pages) gets filtered during the save procedure. This removes all HTML tags and attributes which are not explicitly allowed!