Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

YouTube Video Custom User Macro

Edited
Deleted user Jun 06, 2018

The Widget Connector macro was not working for me in Confluence Server 6.9, so I made this YouTube Video user macro.  It will allow you to align the video window left, center, or right on your Confluence page.

1. Put it under the Categories of "Media" and "Visuals & Images"

2. Made an icon for the macro based upon YouTube's guidelines here:

https://www.youtube.com/intl/en-GB/yt/about/brand-resources/#logos-icons-colors

...coming up with:

YouTube_Icon_950x950.png

 

3. Set "Definition of User Macro" as "Unrendered"

 

4. Set the actual macro template to:


## Macro title: YouTube Video
## Macro has a body: N
## Body processing: N/A
## Output: YouTube Video
##
## Developed by: Tim Braxton
## Date created: 05/24/2018
## Installed by: Tim Braxton
## Use this macro to insert a YouTube video.
## @Param VideoCode:title=YouTube Video
Code|type=string|default=kNz82r5nyUw|required=true|desc=Enter the short
code after the "watch?v=" and before any other "?" or "&" in your Youtube
link.
## @Param VidPosition:title=Video Window
Alignment|type=enum|enumValues=left,center,
right|default=center|required=true|desc=Select how you would like the
video window aligned on your page.
## @Param Width:title=Width|type=int|default=560|required=true|desc=Width
## @Param Height:
title=Height|type=int|default=315|required=true|desc=Height
<style>
.leftvideo {
display:block;
margin-right:auto;
margin-top:5px;
}
.centervideo {
display:block;
margin-left:auto;
margin-right:auto;
margin-top:5px;
}
.rightvideo {
display:block;
margin-left:auto;
margin-top:5px;
}
</style>
<iframe class="${paramVidPosition}video" width="$paramWidth"
height="$paramHeight" src="https://www.youtube.com/embed/${paramVideoCode}?
rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media"
allowfullscreen>
</iframe>

5 comments

Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jun 06, 2018

Thanks for sharing.

Meg Holbrook
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jun 06, 2018

Awesome @[deleted]! 

Fabienne Gerhard
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 06, 2018

Thank you @[deleted] again for sharing

Manon Soubies-Camy _Modus Create_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 07, 2018

Thanks for sharing!

Gary Pasquale
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jun 07, 2018

Nice one - thanks!

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events