Bug 225877 - [GTK] media player causes view to jump to player
Summary: [GTK] media player causes view to jump to player
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: Unspecified Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-17 10:21 PDT by erusan
Modified: 2021-05-17 10:21 PDT (History)
1 user (show)

See Also:


Attachments
Video of sample page jumping to player (1.94 MB, video/webm)
2021-05-17 10:21 PDT, erusan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description erusan 2021-05-17 10:21:00 PDT
Created attachment 428842 [details]
Video of sample page jumping to player

The built-in media player causes the page to jump to the video's location once the media finishes playing (perhaps at other times).

To reproduce:
1) Visit page which utilizes webkit's media controls, such as http://camendesign.com/code/video_for_everybody/test.html (this works with webms, mp4s, seemingly anything using the native player)
2) Play some media
3) Immediately scroll past the media so that it is out of view
4) Result: Once media finishes playing, view jumps back to player

In the link above ( http://camendesign.com/code/video_for_everybody/test.html ), it seems you need to scroll perhaps before the video is buffered in order for this to happen. See attachment.