It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Embedding YouTube videos into confluence

Is it possible to embed a YouTube video or other video hosted on a remote server into a Confluence wiki page? If so, how do you do it? Essentially, I would like to share the same video on multiple pages without having to attach the video to each individual page.

3 answers

Hi Jackson,

This can be done with the Widget Connector Macro. To add a video do the following:

1) Create a page to which you want to add the video

2) In the toolbar click the plus-button and then choose Other Macros

3) Search for Widget Connector

4) Paste the URL, define the size en click Insert

Now the video should appear in your page (you can test with preview).

Hope this helps?!

In the latest version of confluence you can simply paste youtube url in the editor and Confluence will create a widget connector macro for you.

Like Gerald_Kowalsky likes this

Can I do this here in Confluence Answers?

This doesn't work in Confluence 5.2. At all.

You need to upgrade

Is there an update to this that allows for a playlist-enabled URL to be processed?

https://www.youtube.com/embed/videoseries?list=PLX0NnqKqW_-ceiZCNrzbm03-YBLpt4T7h

Adding this to the existing Widget Connector generates a widget error. 

Running Confluence DataCenter 6.0.4

I'm using Confluence Cloud. How can the video be centered in the widget? In my tests, it only shows aligned to the left side.

Well, I managed to do something similar (not exactly what I wanted, but close) by typing 100% in the width field and adjusting the size with the height value; that way, the thumbnail of the video will be the full width of the page, but when clicking play, it will be centered in the youtube widget and of the chosen size.

@fernando_tella: You can check out our App "YouTube for Confluence" from the Atlassian marketplace (see https://marketplace.atlassian.com/apps/1221789/). We recently added an option to set the alignment of the video content (to either left, center or right). If you set this option to "center" and define a width in the macro options you should get the result you are looking for if we get you question right. 

For Confluence cloud, you can check out our app "YouTube for Confluence" from the Atlassian marketplace (see https://marketplace.atlassian.com/apps/1221789/).

If you are using Confluence Cloud, you can use our add-on: HTML & Iframe Macro for Confluence

Simply copy the embed code from Youtube (or any other service like Vimeo), save it into HTML/Iframe macro body and your videos/contents will be embedded in the page. Let us know if you have any issue.

Best,

Kumar

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

3,140 views 4 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you