Foliovision › Forums › FV Player › Troubleshooting › Uploaded videos with WordPress and Coconut-plugin give error at playing
-
Video upload broken on two separate sites since a few days.
Wordpress 5.9.3 and 6.0
FL Player Pro + FL Player Coconut version: 7.5.23.728
Previous uploaded videos play well.
All new uploaded videos give: hlsjs-lite: Das Video ist nicht korrekt kodiert
Formats: 720 + 1080
Admin message in player says: Video OK (Green) and thumbnail shows.
Coconut confirmation email says encoding has succesfully finished.
I had email contact with Coconut support and they redirected me to the plugin developer.
-
-
Hello Martin,
thanks for your reply.
If I don’t encrypt the video upload, it plays well.
Here is a link to 2 examples:
https://germanische-heilkunde.at/fv-player-test-page-with-coconut-encryption/Hello Martin,
in the subfolder it works (at least with the video I uploaded).
I had issues in the past as I uploaded videos in the subfolders!
Is there a way to move my existing uploads to a subfolder, otherwise I have to reupload more then 40 videos (Coconut counts for that).
Alternative would be waiting for the plugin update. Is there a time schedule?
At Coconut they told me that HLS-stream version 4 is the standard. Your plugin uses still version 3. Will this be changed soon or what is best?
Kind regards,
ToniaHello Tonia,
FV Player Coconut 7.5.24.728 is out and it fixes the issue with playback of encrypted HLS which were uploaded into the root folder. It will also fix the playback issue with these 40 videos which you uploaded in the meantime – no need to move anything.
If you do not see the update yet, you can get a new plugin ZIP file at htttps://foliovision.com/my-licenses
We prefer HLS version 3 as it splits the video into small pieces which makes it harder to download. HLS version 4 uses a single big file, which in turn can be also used with MPEG-DASH streaming format, but that’s not of a technical detail.
Thanks,
MartinHello Martin,
great, the video playback is working now on both sites. But the minor side is, now I’m not able to upload videos on one site. Not to the root directory, nor to the subfolders. One site gives the message: “Upload failed with server error.” after choosing the video file.
The nginx error log says:2022/06/11 10:23:36 [error] 3210#3210: *90757 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined method GuzzleHttp\Utils::chooseHandler() in /home/ghk-academy/public_html/wp-content/plugins/elementskit/libs/composer/vendor/guzzlehttp/guzzle/src/functions.php:61 Stack trace: #0 /home/ghk-academy/public_html/wp-content/plugins/fv-wordpress-flowplayer/vendor/guzzlehttp/guzzle/src/HandlerStack.php(42): GuzzleHttp\choose_handler() #1 /home/ghk-academy/public_html/wp-content/plugins/fv-wordpress-flowplayer/vendor/guzzlehttp/guzzle/src/Client.php(65): GuzzleHttp\HandlerStack::create() #2 /home/ghk-academy/public_html/wp-content/plugins/fv-wordpress-flowplayer/vendor/aws/aws-sdk-php/src/Handler/GuzzleV6/GuzzleHandler.php(26): GuzzleHttp\Client->__construct() #3 /home/ghk-academy/public_html/wp-content/plugins/fv-wordpress-flowplayer/vendor/aws/aws-sdk-php/src/functions.php(279): Aws\Handler\GuzzleV6\GuzzleHandler->__construct() #4 /home/ghk-academy/public_html/wp-content/plugins/fv-wordpress-flowplayer/vendor/aws/aws-sdk-php/src/ClientR" while reading response header from upstream, client: 2001:8a0:c154:e901:8dac:7a83:1119:bc3e, server: ghk-academy.info, request: "POST /wp-admin/admin-ajax.php?&_fs_blog_admin=true HTTP/2.0", upstream: "fastcgi://unix:/var/php-fpm/165365161014593.sock:", host: "ghk-academy.info", referrer: "https://ghk-academy.info/wp-admin/admin.php?page=fv_player"
I’ve tried PHP version 7.4 and 8.0.
I hope this info can help you any further.
Kind regards,
ToniaHello Tonia,
these conflicts are unfortunate, in FV Player we only load these 3rd party libraries when it’s necesary.
For the next FV Player version we updated to the latest Guzzle HTTP library version. Perhaps that will avoid the conflict with ElementsKit Pro. If you would like to check that then please reinstall FV Player from this link: https://github.com/foliovision/fv-wordpress-flowplayer/archive/master.zip To do that you will have to first deactivate and delete the current FV Player plugin you are using. WordPress will warn you that you might loose settings and data, but it’s not the case with our plugin, no settings now videos will be lost. Or you can just replace the plugin files via FTP.
If that won’t help, then I wonder what version of Guzzle HTTP is in the ElementsKit Pro plugin.
Thanks,
MartinHello Tonia,
I see, we are stuck with Guzzle version 6.x as we try to retain the PHP 5 compatibility. I increased that for AWS to PHP 7.2.5 which gave use Guzzle version 7.4.4.
Please try if it works with that if you if you can – here’s the plugin ZIP file to try: https://github.com/foliovision/fv-wordpress-flowplayer/archive/refs/heads/aws-php-7-2-5.zip
Thanks,
Martin