Questions tagged as 'html5-video'

1
answer

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", function() {...}); # Funciona $("audio")...
asked by 01.06.2017 / 15:19
1
answer

Video tag inside Slick

I'm having a problem in my project, I installed the slick carousel, I put the images and it worked, however, I added a tag containing the path of the video and the video does not work, just a black screen appears. Follow the code: <body...
asked by 30.08.2017 / 15:44
1
answer

Quality videos and the smallest possible size

I've seen websites putting a short video to be displayed as if they were background of a div and look very beautiful! Does anyone know how to compact to the maximum and suitable formats to display in the latest versions of chrome/...
asked by 25.03.2016 / 03:37
1
answer

video does not respect predefined height and object-fit: cover in Google Chrome

I'm calling a video in a parent div with the following definition: div { width: 100%; height: 400px; } And as child element the tag <video> com: video { height: 400px; width: 100%; object-fit: cover; b...
asked by 17.12.2018 / 13:12
1
answer

How to play a video automatically in google chrome?

I developed a website for a company and it requested a video just below the menu, and that this video was automatically reproduced, until then nothing else I used the following code: <video preload="auto" autoplay="true" loop style="height...
asked by 06.09.2018 / 14:03
0
answers

Stream video with Nodejs and Socket.io

I need help streaming with Nodejs and Socket.io. I am using the rtsp-ffmpeg library to perform the stream. I was able to execute it by transmitting in img format according to the specific documentation itself, but I can not send an mp4 even afte...
asked by 17.03.2017 / 17:11
1
answer

How to "capture" an IP stream stream using HTML 5

I'm using DVB viewer to broadcast TV signal over the network. Using, for example, VLC, I "get" the network stream and have the transmission. I would like to know how to do this using HTML. I tried to simply create the player and in src pu...
asked by 16.09.2015 / 13:02
1
answer

Treat 404 in html5 video

How can I handle errors like 404 in the html5 video tag? I took a look at all available events and the only one that should serve in this case was the onerror , however, when I define it by means of an attribute in the tag. The same can never f...
asked by 18.05.2016 / 16:11
2
answers

Display a different video for each visitor [closed]

I'm making an HTML page with JavaScript and would like for every user who visits it to change the initial video. I have 5 videos, so on the first access the video 1 would be displayed, then the video 2 and so on, until in the sixth access it...
asked by 30.11.2018 / 22:22
2
answers

How to remove video download option

I would like to remove the options for downloading the video (I know this will not prevent it from being downloaded through other means.) But the idea is only to make this difficult for more laymen. I have the following example: link Wher...
asked by 29.03.2017 / 16:15