Skip to main content
Participant
July 29, 2021
Answered

Embedding prototypes onto other webpages

  • July 29, 2021
  • 1 reply
  • 1098 views

Under 'share', there's an option to copy an embed code for my prototype, to paste into markdown on my own website. But when I paste it in, it massively overlaps the space. Can anyone please advise how to tell it to fit the window it's in? You can see what I'm talking about here: The embed code it generated was <iframe width="1920" height="1080" src="https://xd.adobe.com/embed/46fe53f9-9d26-4448-827f-88b5d8d04224-13ad/?fullscreen" frameborder="0" allowfullscreen></iframe>. Perhaps it's related to the full screen bit but I don't know how to take this off without breaking the code.

 

Any assistance appreciated. Thank you.

This topic has been closed for replies.
Correct answer Myra Ferguson

The iframe is where the content will be embedded. The width and height values in the code are the size of the iframe. If you want the iframe to be smaller, change the values inside the quotes for the width and height attributes to the dimensions that you want.

1 reply

Myra Ferguson
Community Expert
Myra FergusonCommunity ExpertCorrect answer
Community Expert
August 4, 2021

The iframe is where the content will be embedded. The width and height values in the code are the size of the iframe. If you want the iframe to be smaller, change the values inside the quotes for the width and height attributes to the dimensions that you want.

Emma5C30Author
Participant
August 5, 2021

I feel like an idiot for not understanding that, I got caught up with the full screen bit. That's solved my problem, thank you very much.