Project

General

Profile

Bug #1383

Movie restarting when orientation changes

Added by megabitdragon about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
05/26/2014
Due date:
% Done:

0%


Description

Star watching a movie in portrait orientation and after a few seconds change to landscape. The movie starts from the beginning. We must save the state before the activity gets recreated.

History

#1 Updated by ming about 8 years ago

  • Status changed from New to Closed

#2 Updated by cpg about 8 years ago

  • Status changed from Closed to Assigned

the entire movie is restarted when playing with avi files.

that this does not occur with m4v, mp4 and mkv files (granted, after a longer-than-expected delay).

dumb speculation would led me to believe that this may be related to not knowing the position of the playhead in avi files (the duration shows zero)?

however, i was under the impression that we had what looked like a somewhat viable solution for the duration issue in avi files?

do we not have a solution for the zero duration?

is this not related to that?

#3 Updated by megabitdragon about 8 years ago

In general movies continue when changing orientation but here is a scenario when this is not true.
1. Start a movie
2. Change orientation
3. while the movie is still loading, change orientation again.

Effect:
Movie will start from the beginning.

Maybe this is another reason to use a service.

#4 Updated by megabitdragon about 8 years ago

  • Priority changed from Normal to High

#5 Updated by ming about 8 years ago

  • Status changed from Assigned to Feedback

Took simple approach without Service for now.

#6 Updated by ming about 8 years ago

  • Assignee changed from ming to megabitdragon

#7 Updated by megabitdragon about 8 years ago

  • Status changed from Feedback to Closed

Seems to be working. Closing...

Also available in: Atom