Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change the size of Figma Embeds?

Grant Szalay
July 26, 2023

I love the Embed feature for Figma, however the results are almost unusable because Confluence inserts a massive iFrame.

I want to show frames in their true size.

However, the iFrame used is massive and takes up half the viewport on the page in Confluence.

If I have small image of 3 Avatars in Figma and my frame in Figma is just the size of the Avatars, the iFrame zooms in on these items unrealistically.

AvatarEmbed2.png

If I widen the frame in Figma to be the size of the iFrame in Confluence, the size of the images is correct, however, there's tons of white space above and below.

AvatarEmbed.png

This behavior defeats the purpose of embedding frames from Figma if the only way for me to get true-size is by adding a static image.

How can I get Confluence to display the actual size of my frame from Figma?

1 answer

0 votes
Stephen Deutsch
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 Champions.
December 17, 2014

Hi Liz,

I've found that MP4 files are the only ones that can be played cross-browser successfully.  I wrote this user macro:

https://bitbucket.org/stephendeutsch/confluence-user-macros/src/6b54396e45be879bebfd0ff7c0d934c2a6821867/html5video/html5video.vm?at=master

to insert the video into the HTML5 video tag, and then it plays more or less similarly in each browser.

Elizabeth Bedwell
Contributor
December 17, 2014

Hi, Thank you for a quick response! :) Also thank you for linking me to the Macro you have created, it looks rather handy. However our IT department have a rule for Plugins and Macros, they need to be officially supported or be shown not to cause issues as Confluence updates. I have never added a custom Macro before either? I would like to learn how to a) add them and b) create them myself to avoid these pesky issues with Confluence.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events