Questions tagged [html5-video]
HTML5 video is an element introduced in the HTML5 draft specification for the purpose of creating a standards-compliant, plugin-free way for playing videos and movies, partially replacing the object element.
html5-video
8,022
questions
0
votes
1
answer
26
views
Firefox | HTMLVideoElement currentTime 0 after executing play()
In Firefox web browser when I check HTMLVideoElement currentTime I got 0 even after executing play() method on it:
private async playVideo(): Promise<void> {
this.htmlVideoElement.muted = true;...
0
votes
0
answers
11
views
Firefox: play video will not start [duplicate]
Video play will not start on mouseenter unless I mouseleave and mouseenter again.
This only happens in Firefox, it works in Chrome and Opera.
This is my code for playing the video:
private async ...
0
votes
0
answers
11
views
NextJS Video loads only after full page load
im in a little dilemma right now. Basically I have a small video in the hero section. With ffmpeg and preload='auto' enabled (progressive download).
Issue being the placeholder renders but taking a ...
1
vote
0
answers
34
views
How would I remove the effects of an event listener on a nested element via a chrome extension?
I have a chrome extension that works as a video overlay to allow for specific timestamp playback.
The extension is activated via keyboard command, and uses a form to input specific time stamps. The ...
-2
votes
0
answers
61
views
Cant change the currentTime of a Video or Audio Tag
I have 2 audio file with 2 button with it, the first one src is from my local file and the second is from another website.
var audio = document.getElementById('audio');
var button = document....
0
votes
0
answers
30
views
Background video not loading on any mobile phones
So here is my code:
<!-- VIDEO OVERLAY-->
<div class="video_overlay">
<header>
<!-- This div is intentionally blank. It creates the transparent black ...
1
vote
0
answers
69
views
how can I make to have the audio from the video playing to be the only one active
here is the code of the video slider. i tried the script shown below and it worked to bring audio on and off when clicking on the video but when i slide to the next video and if i haven't clicked to ...
0
votes
1
answer
38
views
Zod > video file duration check (Javascript mastery required)
I'm trying to use Zod and validate video file input duration. The issue is that to load metadata, there needs to be async / await and this is where I've reach my Javascript mastery limit. This is what ...
0
votes
0
answers
11
views
how can i get camera access in ios12 application embedded h5
i can sure the app already hava the camera access, but in the embedded html, i still cannot open the camera. And this HTML page is work at Safari, but cant work on app when the page is embedded in app....
2
votes
1
answer
46
views
Form overlay cannot be filled or submitted on already existing video.js video element
I made a chrome extension that uses a basic form to input specific time stamps onto videos present on web pages. The extension is currently working for both Youtube and Spotify videos as is: I can ...
0
votes
3
answers
55
views
HTML <video> element: how to remove the dark area around the timeline control when it appears?
When a video plays normally:
The timeline control will appear when one pauses the video or moves the mouse. In a WebKit-based browser like Chrome, it looks like this:
So there is a dark area around ...
0
votes
0
answers
30
views
in Node.js how to dynamically crop/trim mp4 video file from AWS S3 and return it via streaming to HTML Video player
const res = await pipeline(
initiateObjectStream(videoKey, start, end),
response,
);
I have the functionality of a webinar platform. It has a recorded video that needs to be ...
0
votes
2
answers
72
views
Dash.js fetches .m4s files when setting video.currentTime and results in errors. Errors when setting video.currentTime in dash.js
Basically, I need to start playing my .mpd file from a given duration using dash.js
I am able to play my .mpd file properly from start to end using dash.js in the browser. But when I want to play it ...
0
votes
0
answers
48
views
RTSP stream to web
I am trying to render a RTSP stream from my cam, I have tried using RTSPToWeb, when I open the RTSPToWeb proxy server, I only see MSE working (for other streams, I can see the four formats that the ...
0
votes
2
answers
50
views
How to get a fragment of an mp4 video file from the middle, but keep the file metadata using nodejs aws
export async function* initiateObjectStream(
Key: string,
start: number,
end: number,
): AsyncGenerator<any, any, unknown> {
const streamRange = `bytes=${start}-${end}`;
const ...