Skip to content

Video and Youtube Player videos continue playing after navigating to another page #3

@katherineqian

Description

@katherineqian

Issue tracker is ONLY used for reporting bugs. New feature suggestions and questions should be discussed on Community or submitted through our user feedback form.
Your issue may already be reported! Please search in the issue tracker before creating one.

Expected behavior

When a user plays a video and navigates to another page, the video from the first page should stop playing.

Current behavior

When a user plays a video and navigates to another page, the video keeps playing, and you can still hear the sound. This can happen with more than one video as well.

To Reproduce

Steps to reproduce the behavior:

  1. Create 2 new blank pages, and add a YouTubePlayer widget to Page 1.
  2. Add a button to Page 1. Add a "Navigate to Page 2" Action to this button.
  3. Click "Run" (or "Preview").
  4. Press Play on the video on Page 1.
  5. Navigate to Page 2 by pressing the button.
  6. Observe that the video from Page 1 is still playing.

Context

This makes building any video-focused application difficult because the end user must manually stop videos to avoid having lingering video sounds playing. Because the issue can happen with more than 1 video player, the number of layered video sounds can get very unpleasant.

Screenshots

N/A

Your environment

  • Version of FlutterFlow used: N/A
  • Platform (e.g. Web, MacOS Desktop): N/A
  • Browser name and version: N/A
  • Operating system and version (desktop or mobile): N/A

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions