Skip to content

neerajjain92/instagram-auto-play-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagram Auto Play Fix

Our Happy Users :)

image

Overview

Keep Instagram videos playing when switching tabs or windows.

🎯 Stop Instagram videos from pausing when you switch tabs!

Tired of Instagram videos pausing every time you switch tabs? This extension ensures that your Instagram videos continue playing even when you're browsing other tabs or windows.

Key Features

Continuous Video Playback – Keeps Instagram videos running even when you switch tabs or minimize the browser.
Works with Reels, Stories, and Posts – Ensures seamless playback across all video content.
Simple Toggle On/Off Functionality – Easy to enable or disable as needed.
Zero Configuration Needed – Install and start using instantly.
Lightweight & Fast – Doesn't slow down your browser.

Perfect For:

  • Multitasking while watching Instagram content.
  • Following live videos without interruptions.
  • Listening to Instagram audio while working.
  • Browsing multiple tabs efficiently.

Installation

  1. Go to the Chrome Web Store and visit the Instagram Auto Play Fix page.
  2. Click Add to Chrome and confirm installation.
  3. Enjoy uninterrupted video playback on Instagram!

How to Use

  1. Install the extension from the Chrome Web Store.
  2. Open Instagram in your browser.
  3. Play any video (Reels, Stories, or Posts).
  4. Switch to another tab – the video keeps playing!

Notes

  • This extension only works on the Instagram web version (instagram.com).
  • Ensure you keep the Instagram tab open for it to work properly.

How it works

flowchart TD
    A[Page Loads] --> B[Override Code Executes]
    
    B --> C[Override Document.hidden Property]
    B --> D[Override Document.visibilityState Property]
    B --> E[Replace addEventListener Method]
    B --> F[Replace dispatchEvent Method]
    
    G[User Switches Tab/Minimizes Window] --> H{Website Tries to Check Visibility}
    
    H --> I[Calls document.hidden]
    H --> J[Calls document.visibilityState]
    H --> K[Tries to Add visibilitychange Listener]
    H --> L[Tries to Dispatch visibilitychange Event]
    
    I --> M[Returns FALSE<br/>Instead of TRUE]
    J --> N[Returns 'visible'<br/>Instead of 'hidden']
    K --> O[Event Listener Ignored<br/>Never Actually Added]
    L --> P[Event Blocked<br/>Never Actually Fires]
    
    M --> Q[Website Thinks Tab is Still Active]
    N --> Q
    O --> Q
    P --> Q
    
    Q --> R[Video Keeps Playing<br/>Timers Keep Running<br/>Full Functionality Maintained]
    
    style A fill:#e1f5fe
    style B fill:#fff3e0
    style G fill:#ffebee
    style Q fill:#e8f5e8
    style R fill:#e8f5e8
Loading

Support & Feedback

If you encounter any issues or have feature suggestions, feel free to reach out through the Chrome Web Store review section.


Enjoy uninterrupted Instagram videos while you multitask! 🚀

About

Keep Instagram videos playing when switching tabs or windows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors