Hi
it would be possible to set a maximum width of the video?
excellent work! thank you!
]]>How do I resize my video so that it all fits the on the page?
]]>In the latest update the patch notes mention the plugin has bumped the minimum PHP version to 7.2. This is all fine and well but some of our websites have started showing errors.
Looking through the code you have used ‘typed properties’ in a few cases, for example in Bootstrap.php:
private static ?Bootstrap $instance = null;
private array $opts;
Typed properties are only supported from 7.4 onwards, please either bump up either the minimum required PHP version or refrain from using typed properties if you want to remain 7.2 compatible.
]]>Than you for the last update. This version v3.0 is unfortunately not compatible with PHP 7.2 and 7.3 due to specific PHP 7.4 syntax in the code.
For example in wp-content/plugins/responsive-videos-fitvids/lib/Core/Bootstrap.php on line 24:
private static ?Bootstrap $instance = null;
Results in error:
PHP Parse error: syntax error, unexpected ‘?’, expecting function (T_FUNCTION) or const (T_CONST)
Or in line 30:
private static function Bootstrap $instance = null;
Results in error:
PHP Parse error: syntax error, unexpected ‘array’ (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)
Looks like you’re using bracket array syntax, which is not compatible with PHP < 5.4
I guess I should just move this site to a more up to date server…
However, you should maybe either change it to the old array() syntax or make a note that this plugin will cause fatal errors when running WordPress on old PHP versions.
mod_fcgid: stderr: PHP Parse error: syntax error, unexpected '[' in /httpdocs/wp-content/plugins/responsive-videos-fitvids/lib/fitvids-update.php on line 21
It was working perfectly, but after upgrade I started getting error messages in the plugin page.
I went back to the old version, and forgot to take some logs.. but I couldn’t even get the list of plugins working when 2.0 was installed.
Sorry for lack of details, but I had to roll back quickly, and I forgot to grab the logs.
]]>Installed and activated. My videos are STILL not responsive. Are there steps that I missed?
https://www.ads-software.com/plugins/responsive-videos-fitvids/
]]>Happened to me twice, on two different blogs.
Saving Reading options first time loses all checkboxes for plugin.
1. installed plugin
2. went to Reading
3. all checkboxes for plugin was checked by default
4. pressed Save, now page have no checkboxes checked for plugin
5. it’s not just-GUI issue: fitvids is not rendered for any page
6. checking them again and saving stores them fine from now on.
It may affect initial user experience.
https://www.ads-software.com/plugins/responsive-videos-fitvids/
]]>