google iframe size

  • 1
  • Question
  • Updated 3 years ago
  • Answered
I embed iframes from Google Drive on my site, and since Google changed to providing iframes rather than html embedding, I've lost the ability to resize the iframe within the web widget, so it now looks silly. Is there any way I can get round this?
Photo of Ian

Ian

  • 15 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes
Hello Ian,

Does the embedding code end with the information to the right of the ellipsis?

<iframe src="...embedded=true"></iframe>

If so then you could simply append your preferred height and width dimensions to the code, something like:

<iframe src="...embedded=true" height="800" width="600"></iframe>

If not, it would help to see an example of the embedding code given by GD.
(Edited)
Photo of Ian

Ian

  • 15 Posts
  • 0 Reply Likes
Perfect, thanks!