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

Looking for a way to autostart a youtube when selected Edited

I am trying to figure out if I can use Confluence to provide a static location for youtube content and have it automatically start when the page is selected.  

Was able to use "Widget Connector" to get the content there, however it has to be clicked on once the user arrives at the page.

Reading the Multimedia Macro documentation shows an autostart for it but I can't figure out how to get it to work.  The only way to use this was to actually put the mp4 on the page and then configure the macro.   

If the Multimedia Macro is the only way to autostart a mp4, then is there a way to restrict the use of the video to just stop/start, adjust audio, and close it?  Do not want the ability to comment or upload/download the video.

1 comment

Hey Tom.

I was only able to accomplish that with an iframe. Here's what I did:

  1. Enabled HTML Macros(refer to https://confluence.atlassian.com/confkb/how-to-put-an-iframe-into-confluence-598837531.html for more information).
  2. Inserted the HTML macro in the page.
  3. Used the following iframe configuration:
<iframe src="https://www.youtube.com/embed/Pv3OhX0qjDg?autoplay=1?t=12" noborder="0" width="400" height="400" scrolling="yes" seamless></iframe>

 

As you can see, you will need to use the https://www.youtube.com/embed/ format, insert the rest of the link and use "?autoplay=1"(which will start the video automatically and "?t=12"(which is the timeframe).

 

In this example, I wanted to display a video of my YT Channel when the page is accessed, starting from the 12s of the video. 

Comment

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

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

227 views 3 8
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