Closed Bug 1102845 Opened 10 years ago Closed 6 years ago

[Video]Video Player view shows wrong Title and Play duration

Categories

(Firefox OS Graveyard :: Gaia::Video, defect)

ARM
Gonk (Firefox OS)
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: vsireesha246, Unassigned)

Details

STR:

1.Open Video app with 2videos in Internal Memory(video1 and video2) with out SDcrad
2.Play second video in Video thumbnaillist(video2)
3.While playing insert SDcard with videos
4.Once SDcrad inserted,press Home key
5.Again open video app and Check the Title,duration and Video preview

Title and duration is related to video2 and the preview is related to video1 and video1 starts playing once we clcik on Play button.
In V2.0 version 

function updateLoadingSpinner() {

....

if (thumbnailList.count) {
      // Initialize currentVideo to first video item if it doesn't have a value.
      currentVideo = currentVideo ||
                     thumbnailList.itemGroups[0].thumbnails[0].data;

}
Before Fix:
currentVideo = thumbnailList.itemGroups[0].thumbnails[0].data;
After Fix:
currentVideo = currentVideo ||
                     thumbnailList.itemGroups[0].thumbnails[0].data;

This issue is already fixed in Master.While uploading the patch to master i observed it.But same changes needed for V2.0
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.