Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Designing For TV: Principles, Patterns And Practical Guidance (Part 2)

      September 5, 2025

      Neo4j introduces new graph architecture that allows operational and analytics workloads to be run together

      September 5, 2025

      Beyond the benchmarks: Understanding the coding personalities of different LLMs

      September 5, 2025

      Top 10 Use Cases of Vibe Coding in Large-Scale Node.js Applications

      September 3, 2025

      Building smarter interactions with MCP elicitation: From clunky tool calls to seamless user experiences

      September 4, 2025

      From Zero to MCP: Simplifying AI Integrations with xmcp

      September 4, 2025

      Distribution Release: Linux Mint 22.2

      September 4, 2025

      Coded Smorgasbord: Basically, a Smorgasbord

      September 4, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      Drupal 11’s AI Features: What They Actually Mean for Your Team

      September 5, 2025
      Recent

      Drupal 11’s AI Features: What They Actually Mean for Your Team

      September 5, 2025

      Why Data Governance Matters More Than Ever in 2025?

      September 5, 2025

      Perficient Included in the IDC Market Glance for Digital Business Professional Services, 3Q25

      September 5, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      How DevOps Teams Are Redefining Reliability with NixOS and OSTree-Powered Linux

      September 5, 2025
      Recent

      How DevOps Teams Are Redefining Reliability with NixOS and OSTree-Powered Linux

      September 5, 2025

      Distribution Release: Linux Mint 22.2

      September 4, 2025

      ‘Cronos: The New Dawn’ was by far my favorite experience at Gamescom 2025 — Bloober might have cooked an Xbox / PC horror masterpiece

      September 4, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Operating Systems»Microsoft could help reduce unexpected audio or video playback in Chrome

    Microsoft could help reduce unexpected audio or video playback in Chrome

    June 3, 2025

    Microsoft is integrating a new permission policy into Chromium that might reduce unexpected audio or video playback when developers use the API.

    Modern browsers can already mute audio, but that won’t work when the media is already playing in a hidden iframe. Microsoft is hoping that its new permission policy will fill that gap and put an end to unexpected audio or video playback when browsing websites in Chrome, but the policy won’t be enforced. It’ll require developer assistance.

    As per a Chrome status post spotted by Windows Latest, the permission policy is titled “Pause media playback on not-rendered iframes” and it has been pitched by Microsoft developers.

    “The user could have a negative experience if the media continues to play and emit audio when not rendered,” Microsoft argues in its proposal. There are some workarounds adopted by developers, but they’re not good enough and “could generate user-perceptible performance and experience issues when showing the media content..”

    While not all details are available, I looked into several internal documents to understand how Microsoft plans to implement the permission policy to handle hidden video or audio playback.

    Microsoft says “media-playback-while-not-visible” policy might make the web a better place, but how?

    Right now, when developers embed video or audio inside iframes, they might try to hide the iframe with CSS display set to “none” because it doesn’t look good to an end user.

    You might wonder why developers try to hide the iframe with the video, but there are some instances where e-commerce sites tend to do that. For example, a developer might hide a video iframe while showing a pop-up menu, so the layout stays clean.

    While it does help with the UI, the approach also has a problem where the media would automatically start running in the background.

    This means if you use Chrome to browse the web, you might end up hearing a hidden video or audio track suddenly blaring.

    According to a document seen by Windows Latest, developers have previously tried to deal with unexpected audio or video playback by fully unloading and reloading the iframe, but that causes performance issues.

    With the new permission policy, web apps can now tell Chrome or Edge to pause the iframe’s media whenever it’s not visible, and resume when it’s shown again.

    This permission policy is officially named “media-playback-while-not-visible,” but it’s not turned on by default yet.

    Chrome iframe video audio pause
    How can it be implemented by developers

    Once the permission policy is widely adopted, you’ll have a better experience when browsing the web in Chrome or Edge, as you’ll be less likely to get surprised with hidden audio or video.

    “This proposal aims to provide web applications with the ability to control embedded media content in such a way that guarantees their users have a good experience when the iframe’s render status is changed,” Microsoft wrote in a post spotted by Windows Latest.

    “This should allow developers to build more user-friendly experiences and to also improve the performance by letting the browser handle the playback of content that is not visible to users.”

    The new permission policy will benefit all Chromium-based browsers, but it’s still being experimented with, and we don’t know when it will begin rolling out.

    It’s worth noting that it’s not the only feature Microsoft is touting to improve Chrome and the web as a whole.

    As I reported, Microsoft has been trying to make colours look better in Chrome when you’ve an HDR display or improve gameplay if you use a controller.

    The post Microsoft could help reduce unexpected audio or video playback in Chrome appeared first on Windows Latest

    Source: Read More 

    windows
    Facebook Twitter Reddit Email Copy Link
    Previous ArticleKDE’s overdramatic campaign urges Windows 10 users to get Linux over Windows 11
    Next Article Microsoft Edge is killing off Wallet feature name on Windows 11

    Related Posts

    Learning Resources

    How DevOps Teams Are Redefining Reliability with NixOS and OSTree-Powered Linux

    September 5, 2025
    News & Updates

    Distribution Release: Linux Mint 22.2

    September 4, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    “What happens online stays online” and other cyberbullying myths, debunked

    Development

    The top 4 Bluetooth speakers I’m taking everywhere this summer (including a surprise pick)

    News & Updates

    CVE-2025-38229 – “DVB-USB cxusb Uninitialized Variable Write”

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-4247 – SourceCodester Simple To-Do List System SQL Injection Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    KL-001-2025-006: Schneider Electric EcoStruxure IT Data Center Expert XML External Entities Injection

    July 10, 2025

    KL-001-2025-006: Schneider Electric EcoStruxure IT Data Center Expert XML External Entities Injection

    Full Disclosure
    mailing list archives
    From: KoreLogic Disclosures via Fulldisclosure
    Date: Wed, 9 Jul 2025 17:14:45 -0500
    KL-001-2025-006: Schneider Electric EcoStruxu …
    Read more

    Published Date:
    Jul 09, 2025 (6 hours, 17 minutes ago)

    Vulnerabilities has been mentioned in this article.

    Sony WH-1000XM6 vs WH-1000XM5: Should you upgrade to the newest headphones?

    May 15, 2025

    CVE-2025-6430 – Firefox Object Injection Vulnerability

    June 24, 2025

    10 Best Free Landing Page Themes for WordPress in 2025

    June 29, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.