I use confluence as a knowledge and connect that to our customer portal. I use the widget connector to showcase some videos. However, I cannot get the videos to be center in the page. It is set to be center but it always displays on the left hand side in both confluence and the customer portal. How can I center it on the page?
View from Portal:
View from Confluence:
Thank you for contacting us about this.
The Widget Connector doesn't allow for you to align the content inside of it. I would much more recommend the iFrame macro for this.
For the URL, insert the URL as it is in the embed code from Vimeo. (e.g. https://player.vimeo.com/video/######### instead of https://vimeo.com/######### ). You can then specify the iFrame size. The default size that Vimeo uses in their embed code is 640x401. You can also align this to middle using the iFrame macro.
Could you give that a try and let me know how that works for you?
Welcome to Atlassian Community! It's nice to meet you.
It's not possible to set the iFrame to load in fullscreen, but the video host provides this as an option. For Vimeo, the button in the bottom right-hand corner should help with that.
Could you try that and let me know if it works?
Full screen mode is a setting controlled by the video host itself, and not something you can do within Confluence natively.
In terms of Vimeo, I discovered that there will be no fullscreen option when embedding a Vimeo hosted video in an iFrame:
I tested the same for YouTube, and I can confirm that YouTube also disables full screen mode when embedding a video.
Let me know if you have any questions about that.
My apologies; the align element looks like it actually just aligns in relation to other elements on the page, but not the page itself. So it won't center the iFrame on the page.
I have run some tests, and it appears the best we would be able to do is set the video to the size you want with the macro, and then switch to Fixed Width mode:
That will cause the video to appear centered on your screen, but not the page itself. It does not appear that you're able to center the iFrame macro itself on the page.
I'm sorry that I'm not able to offer you a better workaround than this, but it looks like even on the old editor this is the closest I was able to get.
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...
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