Foliovision › Forums › FV Player › Troubleshooting › Problem with HLS replay
-
We encounter a problem with HLS streaming.
In our backend the HLS stream works fineHowever, we can not get it to work neither for Chrome nor Safari in the frontend
fv-player.min.js?ver=8.0.17.2:1 Uncaught ReferenceError: flowplayer is not defined at fv-player.min.js?ver=8.0.17.2:1:571
Could you perhaps help us to identify the issue.
We are using WP Rocket with CSS and Java Script optimization activated.
For YouTube Live you gave us the exclusion fv-player-youtube.min.js which we have inserted. Perhaps there is another exclusion needed for pure HLS m3u8 URLs.
We have checked our HLS stream with validators, and there are no issues.All our other videos are showing correctly also the YouTube Live videos.
It is only when we try to play a pure HLS stream that we encounter this issue.
-
-
Hello Sven,
This is bad as it shouldn’t be so difficult. I don’t exactly recall why you have to tweak the WP Rocket JavaScript optimization for FV Player to work, as we are using it too and it works properly.
If you had to exclude
fv-player-youtube.min.js
then please see if also excludinghls.min.js
will fix the issue. If that won’t help, excludingfreedomplayer.min.js
might be the solution.Please let me know which WP Rocket version you are using with which settings too.
Thanks,
MartinHi there, just as an update
We added these to WP Rocket
fv-player-youtube.min.js
/wp-content/plugins/fv-player-pro/js/youtube.min.js
/wp-content/plugins/fv-player-live-streaming/js/live-streaming.min.js
/wp-content/plugins/fv-player/freedom-video-player/hls.min.jsIt looks that on Chrome we got it to work now
However in Safari, we only here the sound, but the video is not playingWe have cleared all caches but that did not fix the issue
Also on incognito it does not work
Are there any other JS or other files we need to exclude?Thanks
SvenHi martin, I have checked we are on the latest plugin versions.
I have the codes now included with WP Rocket but still Safari is not workingCan you check if it is working for you
https://www.livetube.tv/news/🔴-watch-live-now-test-26We can here the sound but the player does not start
In Chrome all works fineLook forward to hearing back
I will make sure to keep the livestram running for you
Thanks
SvenSorry here is a new Link for you
The previous one finished
https://www.livetube.tv/news/🔴-watch-live-now-fv-test-7Sorry promised the screenshot, here it is
https://drive.google.com/file/d/12-vY3oEqn1WmuFLQ-OCVqp2VZhur6Gn7/view?usp=drivesdkHi Martin, we have now deleted and re-uploaded FV Player and FV Player Pro Plugin. It should now show the correct installs. Mistake might have been that we still had the LiveStreaming Plugin from you from version 7 active. This is now deactivated.
Then we tried different settings with WP Rocket. We also deleted all our custom CSS from the player. But still., nothing helped to get the Safari to play the clip.
In the backends both Safari and Chrome all works
Chrome Frontend works too
Safari frontend only plays sound but the video does not startWe have created a video for you to see
Let us know, if you need any additional informationThanks for a fix for this
Have a great weekend
SvenScreen Video:
https://drive.google.com/file/d/1nz49OdnfOiS7BueffDj5jmnHWhn1zZG7/view?usp=drivesdkHello Sven,
Thanks for the video, however now I’m realizing I was not checking the FV Player version on your website properly. Sorry about that.
Is there a HLS live stream up on the website where the picture does not show currently or is it going to be published anytime in next 24 hours?
I see the YouTube live streams do now show as live, so it’s time to fix that.
Thanks,
MartinHello Sven,
Please check if you run into the issue with Safari at https://foliovision.com/player/demos/hls-stream -> Live Stream.
If the issue still persists on your website, please make a test page with a live stream available tomorrow at about 9 AM UTC and we can have a look.
Thanks,
MartinLiveStreams from your site work for us in Safari.
We will update the player to the version you shared and let you knowTomorrow 9 am UTC works
I will share the link here as soon as the live stream is up and running.I will also share a private chat link for us to communicate directly
Thanks for your help and look forward to re-connecting tomorrow
Sven
Hi Martin, we have tried now, but unfortunately it is still not working on Safari. We updated the app and cleared all caches but did not get it to work.
What we have not checked though, if it is working in Safari in the backend. Then it could be a cache issue. But as said, we have not yet checked this
Let me know, if you need anything additionally.
Here we go for testing. Here is the Live stream URL
https://www.livetube.tv/news/🔴-watch-live-now-test-30Hello Sven,
I can see the issue with the HLS live stream.
It’s similar to the YouTube Live stream issue. If the live flag is missing in the database for the video (or in your case
live="true"
in the shortcode) it does not show properly.I’m checking if we can improve FV Player to detect that automatically as only Safari and iOS seems to require it.
You can remove the test page now.
Thanks,
MartinHello Sven,
Could you please reinstall FV Player from this link? https://foliovision.com/downloads/fv-player-8.zip
Then the HLS live stream will play in Safari even if it’s not marked as being a live stream.
The URL of the main FV Player library has a new version number, so your CDN should pick the updated file from your web server.
Thanks,
Martin