Hi there,
I am trying to create a user macro to embed videos in a page. In macro browser I want to allow user to choose video from the drop down.
There's a similar parameter type "confluence-content" but it only lists pages ans blogs, and I want to list videos. as mentioned on below page
https://wikis.nyu.edu/display/DOC/Guide+to+User+Macro+Templates#GuidetoUserMacroTemplates-type
I have seen that in some macros people has achieved this functionality, but I am having hard time in achieving this. Wondering if someone can help nme with it.
Warm Regards
Raj karan
Community moderators have prevented the ability to post new answers.
Hi Raj,
Confluence does not make the best file server. In fact by default you are not able to upload files larger than 10MB. I'd recommend trying to limiting the number and size of attachments you put inside Confluence.
You might have better luck uploading your video to an external video streaming service like youtube. I believe you can then use the multimedia macro to embed a video into a page in Confluence.
https://confluence.atlassian.com/display/DOC/Embedding+Multimedia+Content
I don't think you'll be able to do what you want with just a user macro.
I was researching this to do the same thing and I don't think it's possible.
There is an attachment type as described in this question but it only works in macros, not user macros. It points to the unresolved CONF-24016 ticket. It's unfortunate because having the attachment type be valid would pretty much give you what you're looking for.
I tried to dynamically populate an enum by gathering the attachments from the page but that also didn't work.
To do what you want, I think you'll need to write a plugin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Daniel,
What you are saying makes sense, but the videos are meant to be watched by staff only; we are prefering to have them locally hosted.
Work around we are currently using:
The only issue with this all is Full Screen option doesn't comes up in IE and that's the reason I need to have a macro which serves our purpose.
Just for the future reference, suppose instead of videos I need to get a list of PDf attachments only, then what's the best way to achieve this.
Regards
Raj karan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.