I want to create a html5 page which embed a YouTube video,
and I will use firefox to open it.
While playing the video I want to record some information.
so basically I want to put some javascript codes on this page
and the javascript codes will create a log file, write to the log file from time to time.
My question is: is it possible to use html5 local storage for creating and writing files on client side?
are there any code example to create and write files on the client side using javascript and html5?
DOM storage has nothing to do with reading or writing files, but you can use it to accomplish what you’re trying to do.
You can write some log information:
and then you can read it later:
This will work as long as all pages interacting with the storage share the same host domain.