Posts by Miguel • 29 points
2 posts
-
2
votes1
answer40
viewsQ: How to detect download event in audio and video tags?
I have the following code in a JS file, which I use to detect when someone "plays" or "downloads" audio and video files. $("audio").on("play", function() {...}); # Funciona $("video").on("play",…
-
0
votes3
answers218
viewsQ: htmlentities() does not work
Hello, I am saving HTML code in a session variable: $_SESSION["recuperarInvalido"] = "<p id='recuperarInvalido'> O e-mail introduzido é inválido! </p>"; But when typing the session…