MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Videos Do Not Stop Playing => After a Page Navigation &| When another Instance Is Closed that has a video playing. Multiple Instance are effective too

Open
#4,553 1 comment 0 reactions 1 assignee View on GitHub

@vbryh-msft is already working on this.

Since May 13, 2024.

bug
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

What happened?

Video's that are playing on the WebView2 will not stop after a

  1. TabViewContainer that has tabs opened or closed.
  2. Page Navigation => to another page.
  3. Multiple Instances of apps.
  4. Multiple windows too.

The only fix is a a WebView2.CoreWebView2.ExecuteScript => JavaScript function to query all "video" element and stop playing them. I have to do this countless times if I want my app Web Dive to take full advantages of videos, news, and learning material.

An impact on the resources of app are also effect hence all the calls to the WebView2

Importance

Important. My app's user experience is significantly compromised.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

124.0.2478.97

SDK Version

windowsappsdk 1.4.231115000

Framework

WinUI3/WinAppSDK

Operating System

Windows 10

OS Version

10.0.2261

Repro steps

Just create a WebView2 on a tab container or open multiple instance of a app running webview2 with videos playing and navigate or close from that control.

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Don't know

Last working version (if regression)

before 1.4.0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.