question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

EMVideoView continue black or white seconds when activity resume

See original GitHub issue
  • I have verified there are no duplicate active or recent bugs, questions, or requests
Include the following:
  • ExoMedia version: 3.0.5
  • Device OS version: 5.1
  • Devide Manufacturer: Hisense
  • Device Name: Hisense E70-T
Reproduction Steps

1.VideoActivity onCreate: emVideoView.setScaleType(ScaleType.NONE); emVideoView.setKeepScreenOn(true); 2.startActivity to another activity Intent intent = new Intent(this, ProjectDetailsActivity.class); startActivity(intent); 3.press back key back to the VideoActivity,

Expected Result

the EMVideoView show video right immediately

Actual Result

the EMVideoView continue black or white seconds(audio is normal), after seconds, the EMVideoView show video right

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rohan31710commented, Feb 21, 2017

I got the same issue. But why my last rendered frame is not visible after resuming the activity. You can observe this issue in all devices above 4.3. Even with demo app you will see the same issue.

1reaction
brianwernickcommented, Nov 1, 2016

Even though I have marked this as a Bug, I’m not sure if there is much I can do because of the SurfaceView and TextureView surface functionality and how the ExoPlayer (and other VideoPlayers) interact with them. I’ll see if there are any optimizations I can do to minimize the duration of the blank screen (this should just be the color of the activity or other views behind the EMVideoView bleeding through)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resume playing VideoView from onResume - android
When the email intent is done, I want the videoView to continue playing, however, it restarts from the beginning. @Override public void onPause()...
Read more >
ExoMedia首页、文档和下载 - 开源中国
#345, EMVideoView continue black or white seconds when activity resume, by recwert 2022-11-03. #382, Player- once complete video again not ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found