SeleniumHQ / selenium-google-code-issue-archive

Archive, please see main selenium repo
https://github.com/seleniumhq/selenium
345 stars 195 forks source link

webdriver on android does not play html5 videos #3035

Closed lukeis closed 8 years ago

lukeis commented 8 years ago

Originally reported on Google Code with ID 3035

What steps will reproduce the problem?
1. Start a webdriver session on an Android device
2. Open a web page that contains html5 video, for example www.youtube.com
3. Click or simulate a click on the video player to play

What is the expected output? 
- video should play

What do you see instead?
- video does not play, audio only

Selenium version:
   server: android-server-2.13.0.apk
   client: Python 2.6 and selenium-2.15.0 PythonBindings
OS:
   server: Samsung Galaxy GT-P7510 running Android 3.1
   client: Mac OS 10.6.8
Browser: default
Browser version: 3.1-URKMB

Here is a video recording of the issue: http://youtu.be/wnjBlFjjyG4. In this video,
first I play the video in a web browser, and after that I try to play the same video
on the same page in the webdriver window.

Reported by mdzyuba@google.com on 2011-12-09 02:44:06

lukeis commented 8 years ago

Reported by ajaykemparaj on 2011-12-10 17:34:36

lukeis commented 8 years ago
Still happens with android-server-2.21.0.apk.

Reported by yoav.weiss.fr on 2012-05-24 12:07:06

lukeis commented 8 years ago
This issue manifests on the Nexus7 when using webdriver to automate tests against the
YouTube API on android-server-2.21.0
Audio plays; no video is displayed after the starting keyframe - just like OP's video

Intrestingly the YT api responds to commands until one tries to seek in the video at
which time the YT api also self destructs. 

Reported by agokhale@jungroup.com on 2012-11-01 20:09:01

lukeis commented 8 years ago
Still broken with the WD  2.32 apk.

Reported by ashfixit on 2013-06-05 18:29:56

lukeis commented 8 years ago
is this issue fixed in some version of Selenium?

Reported by kumarachal on 2013-07-16 21:25:26

lukeis commented 8 years ago
when android-server-2.37.0.apk will be release,and fix this problem?

Reported by cong11235 on 2013-11-20 08:20:12

lukeis commented 8 years ago
is this issue fixed in some version of Selenium?

Reported by refa.luo on 2013-11-20 09:49:40

lukeis commented 8 years ago
Still the same behavior in the new 2.38.0 with Android 4.1 - video plays in a black
player.

Reported by akriger@jungroup.com on 2013-12-26 21:20:35

lukeis commented 8 years ago
Selenium project no longer supports the AndroidDriver.

Please use Selendroid instead:
http://selendroid.io/webview.html

And log any issues against that project:
https://github.com/selendroid/selendroid/issues

Reported by luke.semerau on 2013-12-26 21:57:35

lukeis commented 8 years ago
Out of curiosity, if AndroidDriver is no longer supported, why was a new android-server
apk uploaded a couple days ago?

Reported by akriger@jungroup.com on 2013-12-27 15:47:05

lukeis commented 8 years ago
http://seleniumhq.wordpress.com/2013/12/24/android-and-ios-support/

Reported by luke.semerau on 2013-12-27 16:15:02

lukeis commented 8 years ago

Reported by luke.semerau on 2015-09-17 18:14:23