I'm trying to embed a video using Jira Rest API v2 & the video's URL. I tried to embed it using HTML & iframes like so:
{{html}}
<div style="position:relative;height:0;padding-bottom:56.25%">
<iframe src="${`${artifactUrl}artifact/build/videos${path.replace( 'cypress/integration', '' )}.mp4`}" width="500" height="500" frameborder="0" style="position:absolute;width:100%;height:100%;left:0" allowfullscreen></iframe>
</div>
{{html}}
But it just outputs this as plain text, how can I accomplish this behavior?
Thanks in advance!
EDIT: Added code format & rephrased the question.
Hello @manuel.abascal!
As I understand, you need to embed a video using an iFrame via HTML.
After reading your question, I believe that your questions is pointing towards Jira rather than Confluence. With this in mind, I can direct you into this similar thread, where someone else tried to embed HTML in Jira:
The description field in Jira is a plain text field and will not render HTML. We can use Wiki markup formatting within it. More details here:
Let us hear from you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.