iOS native Video player question

402 views
Skip to first unread message

Perze Ababa

unread,
Jul 10, 2013, 1:23:36 PM7/10/13
to appium-...@googlegroups.com
Is it possible for appium to interact with player controls of a native iOS video player? 

The scenario would be as follows,

launch HTML5 video URL via mobile safari (i.e. http://m.youtube.com/watch?v=GNZBSZD16cY
click on "play" overlay
 * native video player loads
manupulate all player controls (play, pause, prev/next, time scrubber, etc)

Jonathan Lipps

unread,
Jul 10, 2013, 1:28:35 PM7/10/13
to Perze Ababa, appium-...@googlegroups.com
I don't think so. The native player is a different app. What you could do is have one test load up the player by visiting the URL, then stop. Then another test loads up the youtube app; hopefully the video you picked is still loaded. Then you would be able to automate it in this second test.

--
http://appium.io
---
You received this message because you are subscribed to the Google Groups "Appium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appium-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/appium-discuss.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Perze Ababa

unread,
Jul 10, 2013, 2:37:23 PM7/10/13
to appium-...@googlegroups.com, Perze Ababa
Thanks Jonathan. 

bummer!

Eric Edem

unread,
Mar 13, 2014, 7:38:13 PM3/13/14
to appium-...@googlegroups.com, Perze Ababa
Hey Jonathan,

I just ran into this issue, and was wondering where this is at. We have a lot of javascript that happens after the video element starts playing, which seems to be blocked because the video element won't actually play. Do you have a recommendation for this? Mocking the element is not feasible because it won't detect issues like this that we have run into before: http://roblaplaca.com/blog/2010/04/14/ipad-and-iphone-html5-video-autoplay/

Thanks,
Eric

Jonathan Lipps

unread,
Mar 14, 2014, 12:57:34 AM3/14/14
to Eric Edem, appium-...@googlegroups.com, Perze Ababa
I think you might be out of luck then, if your javascript doesn't fire… Is there not a way to get the video to play in place without loading up another app?

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages