Foliovision › Forums › FV Player › Troubleshooting › Remember Video Position option (How to get it to work)
-
Hi Support,
Excited about the ‘Remember Video Position’ option that came with the update. Seems its not configured to work with our site http://www.AfroLandTV.com.
I read that it remembers users positions using site cookies. I don’t think our site retrieves cookies from users and wanted your guidance or pointing us the right direction to enabling ‘cookies’ for the site so that we can take advantage of the’Remember Video Position’ option.
Here is a video screen grab of the issue – http://recordit.co/TJyeCGV6KD
You can test it yourself at this link – https://www.afrolandtv.com/hair-that-moves-trailer/
We have the option turned on in settings and we’re using the BETA FV pro version.
Looking forward to your assistance.
Cheers
Michael
-
-
Hello Michael,
it’s a new feature, so I’m having a look to make sure it works for you.
I checked on https://www.afrolandtv.com/hair-that-moves-trailer/ and it worked just fine. Since I tested as guest user it stored the video position into browser localStorage, which is a technology similar to cookies. The cookies are only used if localStorage fails, as they have a much lower capacity (we could only remember a couple dozen of videos there).
So you don’t have to worry about these cookies at all – FV Player is able to store them just as WordPress is able to set them when you log in to the website. We are also not working with the PHP session.
However I’m noticing that you are stripping the version strings from script URLs. So perhaps your browser was still getting the old script when you run your test. Here’s why to not strip the version strings from URLs of JavaScript and CSS files (short version: your browser won’t know it should download the scripts again if there was a change in any of hem): https://foliovision.com/2017/06/wordpress-cdn-best-practices
As a quick fix you can try to purge your Cloudflare cache and clear your browser cache too. Then this should work for you. You can also test as a guest user and you only need to play the video, let it play for a while, then reload the window and play again – it will continue playing where you left off.
Thanks,
MartinHi Martin,
Thank you for the update. I cleared cache in Cloudflare and browser. It worked well for guest users video positions but not for signed in users.
Here is a screen grab video when signed in
http://recordit.co/11OY3FeanaYou can test it at this link
https://www.afrolandtv.com/films/film-drama/silhouettes/use the temporary guest sign in
username – ….
password – ….Also how would you suggest stopping stripping of version strings from script URLs? On cloudflare our caching level is ‘Standard’. If pro support is needed for this let me know.
Cheers
Hello Michael,
thank you for the login, I had a quick look, but was not able to figure it out – it seems these jQuery Ajax requests are somehow not executing properly on your website.
You can check how this work on our site here: https://foliovision.com/player/demos/video-position-saving You can test both logged in and not logged in.
We would be happy to resolve the issue right on your website with the pro support, however we can’t do it sooner than 3rd of April as in Slovakia we have some state holidays for the Easter.
I expect the versions strings are stripped by some plugin.
Thanks,
MartinHello Martin,
Hope all is well. We’re having an issue with the player remembering video position on IOS devices. I tested on iPhone 7 and IPad on Google chrome and Safari without success.
On the iPhone sometimes after refreshing page, player would freeze. Here is a link to test on your end.
https://www.afrolandtv.com/cuba-libre-trailer/
If you need backend credentials give me an email to send to. I had pro support on this issue 2 weeks ago.
Cheers
Hello Michael,
I’m assuming you are using iPhone 7 with iOS 11.2 or 11.3 – please let us know about that.
Also, let us know what do you mean that it will freeze. Will it just show the loading dots and never finish loading?
How often does it happen? Does it happen even if you disable FV Player VAST?
Does the issue appear when you are playing the video logged in, or when you are not logged in? If it only happens when you are logged in, please send the login to support@foliovision.com.
Thanks,
MartinHi Martin,
Thanks for the feedback. I’m not sure which version but guessing the latest on (not my iphone).
You’ll understand better what I mean by freezing in these screenshot videos I recorded on both Ipad and Iphone.
Ipad – https://youtu.be/GSd-vDCB0uE
Iphone – https://youtu.be/f5loNpjhDj4All the tests, I was logged in.
I sent my credentials to your support email.
Hello Michael,
thank you for the video!
Unfortunately I was not able to reproduce the error on the Salay Trailer video nor Moses Trailer – using iPhone with iOS 11.2 and 11.2.1. I did only use the built-in Safari browser though.
I’m noticing that you have the dh0… CloudFront distribution configured for URL signature. I disabled that as it’s not working with HLS streams anyway – that CloudFront is not set to require it because of the TS video segments which wouldn’t get the signed URL as they are linked from the m3u8 file.
Disabling this makes the video loading simpler – perhaps now you will no longer notice the issue? Please try again. No need for a video again.
Thanks,
MartinHello Michael,
so do you mean it works for you on iPad and iPhone, but only on full content videos? I worked for me, but perhaps the video progress event which we use works differently on your devices due to some reason.
Perhaps it’s only saving the video position every minute rather than every 15 seconds. So when you are watching the video trailer and you watch it from start to almost the end and you refresh there will it work?
Thanks,
Martin