By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!Hi there,
When I start the video, the audio file should also start in the background, but there is no sound.Hi there,
Can you please clarify what the issue is?
Can you write me on discord or telegram? tg: @ofyaaaa dc:hz.anonimHi there,
Can you please clarify what the issue is?
Does the audio/movie file you are using have any actual audio itself?When I start the video, the audio file should also start in the background, but there is no sound.
Is there a particular reason why you are making this request?Can you write me on discord or telegram? tg: @ofyaaaa dc:hz.anonim
1. m3u8 link contains the video but the video has no sound. 2. m3u8 link contains the sound of the video
I want to synchronize these two connections and combine them in videoplayer, but it does not work when the m3u8 video containing the sound starts, you can see my code.
To speak more fluently and faster
Unless the nature of your project is that sensitive, then I am going to kindly decline the request and ask that you respond here so that if anyone else in the community has the same issues, they can see this and hopefully see the responses to help them as wellTo speak more fluently and faster
Well, I'm waiting for you.Ok, so after a bit of playing around with your code, I have a solution for you 🙂
Give that a try, and then I will post my solution so that you can compare 🙂First of all, you are going to want to have each of the source files wrapped in their own <video> tag. I would give that second <video> tag an id of something like "my-video-audio". Then, set up a bit of css so that you hide that second <video> tag. Then add a <script> tag at the bottom of that second <video> tag. Inside of that <script> tag, you are going to write a bit of javascript to 1) get both <video> tags, individually, and 2) set up an event listener for the first video, so that every time the first video gets clicked, the second one also gets clicked
I don't have enough HTML knowledge to do this.First of all, you are going to want to have each of the source files wrapped in their own <video> tag. I would give that second <video> tag an id of something like "my-video-audio". Then, set up a bit of css so that you hide that second <video> tag. Then add a <script> tag at the bottom of that second <video> tag. Inside of that <script> tag, you are going to write a bit of javascript to 1) get both <video> tags, individually, and 2) set up an event listener for the first video, so that every time the first video gets clicked, the second one also gets clicked
I had ChatGPT solve my problem! thanks a lot dude ♥️Give that a try, and then I will post my solution so that you can compare 🙂
Code Forum is a community platform where coding enthusiasts can connect with other developers, engage in discussions, ask for help, and share their knowledge with a supportive community. It's a perfect place to improve your coding skills and to find a community of like-minded individuals who share your passion for coding.
We use essential cookies to make this site work, and optional cookies to enhance your experience.