Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webm in Browser source local file cannot use currenttime #415

Open
Spo-oky opened this issue Jun 28, 2023 · 4 comments
Open

Webm in Browser source local file cannot use currenttime #415

Spo-oky opened this issue Jun 28, 2023 · 4 comments

Comments

@Spo-oky
Copy link

Spo-oky commented Jun 28, 2023

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

29.1.3

OBS Studio Version (Other)

No response

OBS Studio Log URL

NA

OBS Studio Crash Log URL

No response

Expected Behavior

Cannot use a video in webm and set the currenttime. Always go to the beginning of the video and does not assume the currenttime. if we use other video codec it works, only webm doesn't.

In this case the video should forward to 5s and on local file starts from the beginning, on internet file starts on 5s.

Problem In the last versions 29.x, 28.x and 27.x. It works on 26.x

This works on chrome versions tested on v75 and v114. Only fails on OBS.

Just need's to comment the local file and uncomment the internet file to test it.

Tks

Current Behavior

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <video width="100%" height="100%" muted="muted">
        <!-- Same Video on the Web -->
        <!-- <source src="https://test-videos.co.uk/vids/bigbuckbunny/webm/vp9/1080/Big_Buck_Bunny_1080_10s_1MB.webm"> -->
        <!-- Same Video Local file -->
        <source src="video/Big_Buck_Bunny_1080_10s_1MB.webm">
    </video>
    <script>
        var video = document.querySelector('video');
        video.currentTime = 5.00;
        video.play();
        console.log(video.currentTime);
    </script>
</body>
</html>

Steps to Reproduce

  1. Use the html example.
  2. Just need's to comment the local file and uncomment the internet file to test it. to see the different behaver.

...

Anything else we should know?

No response

@RytoEX RytoEX transferred this issue from obsproject/obs-studio Jul 13, 2023
@Warchamp7
Copy link
Member

Warchamp7 commented Aug 8, 2023

Can confirm this happens with a locally loaded mp4 in a local html file as well.

I do not believe it is a webm specific problem.

@Spo-oky
Copy link
Author

Spo-oky commented Aug 22, 2024

Is there any news on this subject or can we do any workaround?

Tks

@WizardCM
Copy link
Member

Good news, our upcoming upgrade to Chromium 126+ seems to fix the issue, so it was likely an issue outside of our control.

I will report in this ticket (and a number of others) when a Beta with the changes goes out to users to try.

@Spo-oky
Copy link
Author

Spo-oky commented Aug 26, 2024

That's great news! tks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants