azai91 / range-seek-bar

Automatically exported from code.google.com/p/range-seek-bar
0 stars 0 forks source link

Unable to replay video on youtube website #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Launch Browser > Goto www.youtube.com
2. Select video from the list > Play the video
3. While video is playing > press back key
4. Select the same video > play the video > Observe 
-> Play softkey is not responding

What is the expected output? What do you see instead?
Able to replay video

What version of the product are you using? On what operating system?
Android 4.0.4

Please provide any additional information below.
When we tap on the Video area in youtube, the Java Player needs to be created. 
This creation is done in the process of recalcStyle() initiated from 
cument::updateStyleForAllDocuments().

After this when the play event is reached to MediaPlayerPrivateAndroid.cpp, it 
starts playing the Java Player.

In the problem case mentioned in the issue, 
Document::updateStyleForAllDocuments() is not being initiated from JavaScript. 
Hence, the Java Player for that particular video is not being created. As a 
result of this when the play event reaches to MediaPlayerPrivateAndroid.cpp, it 
can't play the Java Player.

This issue is observed in Galaxy nexus. Hence, it seems an ICS common issue

Original issue reported on code.google.com by jihye052...@gmail.com on 8 Aug 2012 at 1:07