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

[Problem/Bug]: Videos don't load correctly #4989

Closed
DmitryBorodiy opened this issue Dec 12, 2024 · 7 comments
Closed

[Problem/Bug]: Videos don't load correctly #4989

DmitryBorodiy opened this issue Dec 12, 2024 · 7 comments
Assignees
Labels
bug Something isn't working regression Something used to work but doesn't anymore

Comments

@DmitryBorodiy
Copy link

What happened?

If you just open YouTube video in WebView2 it might not loads.

Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

Latest 131

SDK Version

131.0.2903.86

Framework

WinUI2/UWP

Operating System

Windows 11

OS Version

No response

Repro steps

Just create sample app and open YouTube

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Regression in newer Runtime

Last working version (if regression)

No response

@DmitryBorodiy DmitryBorodiy added the bug Something isn't working label Dec 12, 2024
@github-actions github-actions bot added the regression Something used to work but doesn't anymore label Dec 12, 2024
@ambikakunnath
Copy link
Member

Can you kindly share if there are any specific repro steps? I tried with WinUI2/UWP samples with 131 runtime and I'm able to load and play youtube videos.

@DmitryBorodiy
Copy link
Author

Videos freeze on other resources, there are problems with playback. Try creating several instances with WebView2.

@DmitryBorodiy
Copy link
Author

Also here is issue from other guy
#4878

@DmitryBorodiy
Copy link
Author

This is a serious problem that needs to be fixed immediately.

@DmitryBorodiy
Copy link
Author

I have to switch to WebView(EdgeHTML) to play videos. At least they don't lag there.

@ambikakunnath
Copy link
Member

Is this a regression that you recently observed? If so, can you provide the runtime version where it was working fine?

I tried creating 4 WebView2 controls in a WinUI2 app with youtube and the frame drop rate was around 2-5 frame per 2000 frames.

Can you also please try with this samples if the issue repros -- https://github.com/MicrosoftEdge/WebView2Samples/tree/main/SampleApps/webview2_sample_uwp?

@DmitryBorodiy
Copy link
Author

The problem caused by custom UserAgent. So, YouTube can't work with another user agents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression Something used to work but doesn't anymore
Projects
None yet
Development

No branches or pull requests

2 participants