Closed Bug 1264260 Opened 8 years ago Closed 3 years ago

Webm videos have no image when opened in new tab on Galaxy S6 Edge device

Categories

(Firefox for Android Graveyard :: Audio/Video, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox45 affected, firefox46 affected, firefox47 affected, firefox48 affected)

RESOLVED INCOMPLETE
Tracking Status
firefox45 --- affected
firefox46 --- affected
firefox47 --- affected
firefox48 --- affected

People

(Reporter: u549602, Assigned: ajain2)

References

Details

Environment: Nightly
Device: SAMSUNG GALAXY S6 EDGE (Android 5.1.1 );
Build: Nightly 48.0a1 (2016-04-12);

Steps to reproduce:
1. Open http://goo.gl/tVxW3Z 
2. Close tab and go to History
3. Long tap on previous visited page and tap on "Open in New Tab" or "Open in Private Tab"
4. Go to tab tray and select the newly opened tab


Expected result:
Video starts playing 

Actual result:
No video is displayed, upon tapping on video, the video controls are displayed. Sound is played correctly 

For further details please check: https://www.youtube.com/watch?v=vuzU09g6ce4&feature=youtu.be

Notes:
Please note that this issue could ONLY be reproduced on SAMSUNG GALAXY S6 EDGE (Android 5.1.1 ).
Tried also on Xiaomi mi i4 with Android 5.1.1, Sony Xperia Z2 with Android 5.0.2 and Nexus 6 with Android 6.0 and could not be reproduced on any of these devices
I verified this bug. Also one more issue is that the sound keeps playing even when you minimize the browser. Check it out and verify that too.
Flags: needinfo?(mihai.ninu)
Blocks: 1265284
Hi Akshay,

I confirm the above mentioned behavior and added a bug for this issue too.
In addition i was able to reproduce both issues on a Samsung Galaxy Tab S2 device with android 5.0.2
Flags: needinfo?(mihai.ninu)
Hi Mihai,
Can I work on this bug? Could you help me to get started working for this? Your help and mentoring will be appreciated.
Flags: needinfo?(mihai.ninu)
Snorp, can you help Akshay with his request?
Flags: needinfo?(mihai.ninu) → needinfo?(snorp)
(In reply to Akshay Jain from comment #3)
> Hi Mihai,
> Can I work on this bug? Could you help me to get started working for this?
> Your help and mentoring will be appreciated.

Give it a shot! Poke around AndroidDecoderModule.cpp to see if that's what is getting used for the video part. I assume you have the affected device?
Assignee: nobody → ajain2
Flags: needinfo?(snorp)
Hi James, thanks for assigning it to me. Yes, I do have the affected device and I am even verifying it on other devices.
Hi James and Mihai, I am trying to understand the AndroidDecoderModule.cpp but having trouble find out the documentation and other sources that will give me a starting point, Could you help me with this?
I tried to analyze and understand but failed to follow up the code.
Thanks in advance.
Flags: needinfo?(mihai.ninu)
James is the right person to ask about this.
Flags: needinfo?(mihai.ninu) → needinfo?(snorp)
(In reply to Akshay Jain from comment #7)
> Hi James and Mihai, I am trying to understand the AndroidDecoderModule.cpp
> but having trouble find out the documentation and other sources that will
> give me a starting point, Could you help me with this?
> I tried to analyze and understand but failed to follow up the code.
> Thanks in advance.

There really isn't any documentation besides the comments in the code. AndroidDecoderModule does make use of Android's MediaCodec class, though, which you can read about here: http://developer.android.com/reference/android/media/MediaCodec.html
Flags: needinfo?(snorp)
Bug is reproduced when I try to reproduce it second time onwards. Also it works fine if I use "switch tray" option instead of selecting the new tab from the tab tray. Trying to reproduce it again and again to get the certainty about the bug. Also working on the Media Codec for the AndroidDecoderModule.cpp
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.