Skip to main content

Iframe background,modyfing

  • February 8, 2023
  • 2 replies
  • 110 views

Forum|alt.badge.img

Hi ,

With this code i cant set a background ,

<iframe src="https://app.databox.com/datawall/e8c95f383a6cf2d526f95b28487bc5d" width="1280" height="720" frameborder="0"></iframe>

<style>
body{
  background-image: url('https://i.goopics.net/kxekcg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}
</style>

 

Someone already find out something or miro is just not friendly with iframe background ? 

 

My goal is to replace the image that Miro gives when you put an iframe code . 

 

Thanks . 

 

Was it helpful?

2 replies

Max Harper
Forum|alt.badge.img+6
  • Miro Hero
  • 373 replies
  • February 8, 2023

@Victor64100 Not entirely sure, but pretty sure there’s currently no controlling the iFrame thumbnail. Let’s requested on the platform roadmap. If you create an item there, post back here to channel people there to vote. 
 


Marco Spinello
Mironeer
Forum|alt.badge.img+1

Hi @Victor64100,

As Max writes in his reply, it's not possible to assign a specific background to an iframe. Currently, this property is not customizable.

As an option, you can insert the iframe as an embed board item: https://developers.miro.com/docs/embed_embed-1

The previewUrl property enables setting a preview, but not a background, for the embed.

As Max suggests, create a feature request on our roadmap. If you also add your use case for this feature, it would help us a lot.

Best,

marco

Technical writer | Developer support | DevX


Reply