Closed abdulmoizhussain closed 5 years ago
Hi abdulmoizhussain!
Thanks for your contribution. Yes, i know this problem. I tried save only on quit in the 1st release, but the player faster closed then the save run.
In the next release comes with few bug fix (also this) and some futures. The release probable arrival time is 2019 Aug.
Have a nice day!
Hi!
Your recomennded solution still not works on system window close (same problem when i created the v1.0.0), but i find a solution what works in all ways.
The new v.1.1.2 release is included the fix: https://github.com/Phreshhh/PhreshPlayer/releases/tag/v1.1.2
Bye
Hi, Thank you, for having a look at the solution. Have tried the new update of the player, in themes cobalt one is really great (Y).
Reason:
The player is saving
videoid
&videotime
on everytimeupdate event
(at lines: 382 & 383).They can be saved on
pause playback
andquit player
events, instead. By creating a function inside player.js file.Example:
Usage in: index.html
Usage in: handlePlayPause
case "pause";
default;