Embedded content; dictating the height

I'm using the Wordpress plugin to embed an OAM file into a WP template, but running into issues.

When I set scale to dynamic, I get a blank space at the bottom, as if the WP window is leaving space for the entire document but the content is scaling to the module width.

If I turn off dynamic, the file comes in much larger than the module.

Is there a workaround? The page is online at https://joezeffdesign.wordpress.com/2022/01/18/this-is-a-test/

Thanks
Joe

When enabling width based on percentage, it will usually not do much.
On the other hand, when combining it with the flexible layout features, you will get different sizes and alignments as expected. My guess is you are using Metrics→Flexible layout and that is the source of the different outcomes.

There is a known issue in the WordPress Plugin that layouts using also percentage-based height collapse to a thin line and are not visible anymore. There is a solution by @h_classen automatically calculating proportional-based height values and a variation called HypeAutoHeight you can find here:
https://forums.tumult.com/t/creating-a-flexible-tumult-hype-document-within-a-div-with-no-set-height/13224/20?u=maxzieb

2 Likes

Thanks Max. This worked great, but nothing appears on the iPhone. :frowning:

Here's a new URL: Site Title

And a Hype file: https://joezeff.design/phillytest_autoheight2.zip

Happy to send $100 to the first person who can make this work.

Thanks all!

Have a look at this version of your file: phillytest_autoheight_max.hype.zip
Donations for forum work are always welcome and help motivate further work. If you donate anything when this works (or at some point), split it at least halfway with @h_classen who came up with the original idea. I think our details to that extent are found in our profile pages.

Awesome. Seems to be working! THANK YOU!

Max and @h_classen, if you'd kindly PM me paypal or Venmo information, I'll gladly send EACH of you $100 for your help.

Much appreciated!

2 Likes

Glad it worked. The forum is a place for free and open discussions, community help and just these questions, but you are welcomed and it’s appreciated to make a donation as outlined in my profile all the information is found there:

I am currently dedicating part of my free time to writing extensions for Tumult Hype. My work as a freelancer allows me time to work on Open Source. But this is only an option if I am between jobs or got some prior funding. Therefor I appreciate any donations or sponsorship to that end and also consider them a token of appreciation. Also, consider if I helped you cut down some time from your deadline, current assignment or workload to return the favor. Through your support the code contained in my repositories can grow, branch and prosper towards future endeavors … If I helped you and you’re making serious money on the/that job I appreciate a little one-time donation at https://www.buymeacoffee.com/MaxZiebell or directly at PayPal.Me
Thank you for your donation or the consideration in doing so.

1 Like