Automattic / Automattic/jetpack

VideoPress: Feature request to prevent videos playing when out of viewport

Open
#19,772 0 comments 0 reactions 0 assignees View on GitHub
[Feature] VideoPress Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Summary of request

When a VideoPress video is playing, if a person scrolls down a page the video will continue playing when it is outside of the viewport. On a very long page with a lot of videos, this can make it difficult to identify which video is playing in order to pause it (to begin a new video, for example).

### Suggested solution

An option to allow videos to be auto-paused when not in the viewport.

Requested in this forum thread: https://wordpress.org/support/topic/how-to-pause-video-hosted-on-jetpack-cdn-when-scrolling-out-of-veiwport/

Contributor guide

Open the contributing guide

Research direction

Start by locating the VideoPress video playback component and reviewing the linked forum thread for the requested behavior. Confirm how an option to auto-pause videos outside the viewport should work, including what happens when a viewer scrolls back, then verify the behavior on a page containing multiple videos.

Written by the indexing model from the issue text.

Assessment

Tech stack
wordpress
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.