Page 1 of 1
WordPress plugin suddently ignores "width" param
Posted: Wed Nov 01, 2023 3:22 am
by Howard
While yesterday this page was displaying just fine:
https://allaroundnevada.com/donner-summit/
The VR just under the first text block is set to display at width=95%
And until today, it displayed as expected.
But now, on all browsers, it displays as a square.
I didn't change anything, but this occurs on several websites where I've deployed the same plugin and shortcode.
The GGPG shortcode is:
Code: Select all
<center>[ggpkg url='https://allaroundnevada.com/wp-content/vr/nearly/donner/combined/index.html' start_preview='false' gyro='true' width='95%' height='600']</center>
For a comparison, I've duplicated the pano at the bottom of this page, using an iFrame set to 95% width.
Is there an issue with the plugin perhaps...or is there something else I've overlooked?
Thanks!
Howard
Re: WordPress plugin suddently ignores "width" param
Posted: Wed Nov 01, 2023 11:21 pm
by Hopki
Hi Howard,
Thanks for the heads up we will look into this.
Regards,
Re: WordPress plugin suddently ignores "width" param
Posted: Thu Nov 02, 2023 9:00 am
by Pieter
Hi,
Yesterday I encountered the same issue. It looks like the width in percentages is not working in Wordpress since the plugin update.
In the Wordpress settings for the default player size, I can't save width in %. It will save, but when I come back later the value has not been stored.
I use the Avada template and the width of the player is supposed to scale in width with the column:
https://zeebeen.no/
In my old website it does still work:
https://www.zeebeen.nl/virtual-tour/
Hope that helps width finding the issue
Thanks,
Pieter
Re: WordPress plugin suddently ignores "width" param
Posted: Thu Nov 02, 2023 12:35 pm
by thomas
This issue should now be fixed with version 2.2.7 of the plugin.
Re: WordPress plugin suddently ignores "width" param
Posted: Thu Nov 02, 2023 1:34 pm
by Pieter
Thanks. Yes, its working with the attribute like this for every player on the site: [ggpkg id=495 width='100%']
So the site is working again.
I didn't get it to work for the site as a whole, by setting the Default Player Size to width: 100%. The value is not stored and resets to another value.
Saving:
- ggnome-1.JPG (46.79 KiB) Viewed 89019 times
Return to the settings afterwards:
- ggnome-2.JPG (43.94 KiB) Viewed 89019 times
Re: WordPress plugin suddently ignores "width" param
Posted: Thu Nov 02, 2023 4:21 pm
by Howard
Thanks for the rapid response and the new version of the plugin.
The fix worked, but only after I disabled, and then re-enabled the plugin.
Whew!
Re: WordPress plugin suddently ignores "width" param
Posted: Thu Nov 02, 2023 4:38 pm
by thomas
Pieter wrote: ↑Thu Nov 02, 2023 1:34 pm
I didn't get it to work for the site as a whole by setting the Default Player Size to width: 100%. The value is not stored and resets to another value.
We have now released 2.2.8, which addresses this issue. I hope we now caught all issues.
Re: WordPress plugin suddently ignores "width" param
Posted: Mon Nov 06, 2023 10:46 am
by Pieter
Yes, all back to normal.
Thank you, Thomas!