1
How do I store the time of viewing a video (Html5) in a Session or cookie with php?
The idea is to create a mini video platform, and to store the runtime within a cookie | Session, and when the user sees it again, start from where it left off.
OBS: Reference to catch the current video time in w3schools
http://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_av_prop_currenttime
Oops, as it is Html5 maybe it is better to save this only in the browser Storage, of a look: http://www.w3schools.com/html/html5_webstorage.asp
– Rodrigo Dias
It would be nice if you [Dit] the question and add the current code of your video player, to make it easier for those who answer. Without the current implementation, the question remains very open.
– Bacco
Hello @Bacco, there is nothing developed yet, but I will start the development and edit the question by entering the code of what has already been done for those who can collaborate.
– Igor Silva
@Igorsilva is better, because if someone answers something with a different code than you will use, then the answer does not serve you, and the person who helped ends up wasting time. Really if you leave the problem more concentrated in storage, value for all.
– Bacco