0

Is there a way to show the controls after a video has started playing. Basically, I'm playing a video with play(), and I want the controls to stay up for a few seconds. Currently (at least on my Android device), the controls fade once the video starts.

Toggling the controls attribute doesn't work, unfortunately.

m90
  • 11,434
  • 13
  • 62
  • 112
dc-
  • 1,878
  • 1
  • 15
  • 15

1 Answers1

0

HTML5 video on Android (iOS too) is not opened inline but in the native player (i.e. outside the browser), so the <video>-tag attributes have no control over what is going to happen in the player.

I don't know if it's possible to "hack" / set-up the native player so I guess you'll have to do research on that. I don't know of any way to remotely influence the behavior of the Android application unfortunately. In case you find out something it would be nice if you could let me know btw.

Also see a recent question of mine (which is rather discouraging unfortunately).

Community
  • 1
  • 1
m90
  • 11,434
  • 13
  • 62
  • 112
  • Sorry, question is regarding where video does play inline (tablets). – dc- Mar 28 '12 at 17:04
  • @dc- How do you get the video to play inline? Will an Android tablet play video in the browser? – m90 Mar 28 '12 at 17:11
  • I believe Android 3+ plays inline by default. – dc- Mar 28 '12 at 17:17
  • @dc- Just tried watching a ` – m90 Mar 29 '12 at 07:35
  • @m90- doh sorry, 3.1+ http://stackoverflow.com/questions/1711078/html5-video-element-on-android – dc- Mar 29 '12 at 14:02
  • @dc- thanks for the link! But isn't that just referring to the fact that ` – m90 Mar 29 '12 at 14:06
  • @dc- Hmm, a newer AVD crashes when I press play.... So at least there seems to be a difference :) – m90 Mar 29 '12 at 14:24