Instagram Video Controls - Enhanced State Management

anas k
2025-01-15T02:07:04Z

Video controls for Instagram with persistent state and improved muting prevention

Instagram Video Controls UserScript

A Tampermonkey userscript that adds enhanced video controls to Instagram videos, similar to YouTube's interface.

Features

Prevent automatic video muting

Custom video timeline with preview

Play/Pause button

Time display

Volume control with slider and mute option

Playback speed control (0.25x to 2x)

State persistence across page reloads

Draggable timeline slider

Time preview on hover

Instagram-themed styling

Background play option

Installation

1. Install Tampermonkey browser extension

2. Click on Tampermonkey icon and select "Create a new script"

3. Copy the entire content of instagram-video-controls.js

4. Save the script

5. Navigate to Instagram - controls will appear above videos

Usage

Click and drag timeline to seek through video

Hover over timeline to see time preview

Use play/pause button to control playback

Adjust volume using the slider or click volume icon to mute/unmute

Change playback speed (0.25x to 2x) using the speed control

Toggle background play to keep videos playing when switching tabs

Your settings (volume, speed, background play) are saved and persisted across sessions

Contributing

Feel free to submit issues and enhancement requests!

License

This project is licensed under the MIT License - see the LICENSE file for details