New issue
Advanced search Search tips

Issue 595625 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

[Chrome][M48][Android 6.0] Video playback is not paused when taking screen capture during video playback

Project Member Reported by seiyon.p...@lge.com, Mar 17 2016

Issue description

Example URL:

Steps to reproduce the problem:
1. Open PlayStore
2. Search, download and install "OneShot" to take screen capture (Attachment : OneShot.png)
3. Open Chrome and go to Youtube(http://youtube.com)
4. Play video
5. Run "OneShot" app by touching the left side of screen

What is the expected behavior?
Video playback should be paused when taking screen capture during video playback.

What went wrong?
Video playback is not paused when taking screen capture during video playback.

Did this work before? N/A 

Is it a problem with Flash or HTML5? N/A

Does this work in other browsers? Yes 

Chrome version: 48  Channel: stable
OS Version: 6.0
Flash Version: Shockwave Flash 21.0 r0

You can see the reproducible steps from the attachment "20160317_095607.mp4".
 
OneShot.png
205 KB View Download
20160317_095607.mp4
11.8 MB Download
Cc: krav...@chromium.org
Labels: triage-te
Cc: mlamouri@chromium.org
What makes you think the video playback should be paused?

Comment 3 by seiyon.p...@lge.com, Mar 29 2016

Kindly reminder
seiyon.park@, can you clarify comment#3? why do you expect the video playback pause during taking screenshot?

Comment 5 by seiyon.p...@lge.com, Mar 30 2016

Video should be paused because Chrome's DocumentActivity activity is paused.

03-30 15:53:49.510 I/am_create_activity( 2568): [0,54346583,57,com.altamirasoft.oneshot_android/com.altamirasoft.zeronote_android.CaptureActivity,NULL,NULL,NULL,276824064]
03-30 15:53:49.559 I/am_pause_activity( 2568): [0,182556014,com.android.chrome/org.chromium.chrome.browser.document.DocumentActivity]
03-30 15:53:49.568 I/am_focused_activity( 2568): [0,com.altamirasoft.oneshot_android/com.altamirasoft.zeronote_android.CaptureActivity]
03-30 15:53:49.569 I/am_on_paused_called(16030): [0,org.chromium.chrome.browser.document.DocumentActivity]
03-30 15:53:49.589 I/am_restart_activity( 2568): [0,54346583,57,com.altamirasoft.oneshot_android/com.altamirasoft.zeronote_android.CaptureActivity]
03-30 15:53:49.738 I/am_on_resume_called(26049): [0,com.altamirasoft.zeronote_android.CaptureActivity]
mlamouri@, I am not familiar with Android API, does chrome's DocumentActivity pause indicate that video should pause too? 
Chrome Android currently pauses by default videos when they are played in the background.
mlamouri@, can you clarify comment #7? seiyon.park@ complain video is NOT paused during taking screenshot. If they should be paused because they are in the background during taking screenshot, then this is a real bug.
As far as I can tell, Chrome *does* pause videos in the background. I don't know if the issue here is specific to OneShot or if it is specific to the build that was tested.

I couldn't find the same app on the Play Store, do you have a link to it? Is it limited to some countries?
Cc: tedc...@chromium.org
Status: WontFix (was: Unconfirmed)
This is working as intended. When starting one shot from the notification, it actually shows an overlay on top of the Chrome activity. I would assume the activity is not hidden.

+tedchoc@ FYI

Sign in to add a comment