youtube api - Embedded YT on mobile: autohide=0&controls=1 but controls invisible -


when embedding video autohide=0 , controls=1 (which default anyway), 1 assume controls visible.

this not case when looking @ embedded video on android or ios, exact same embed code yields player without "always-on" controls (e.g. before clicking "play").

i've created small demo indeed has yt display controls when viewed on desktop, not when viewed on ios or android.

my questions:

  • is bug (and if so; solution in works)?
  • is there way force controls visible on mobile?

ios safari supports html5 video (it uses quicktime render it). behind scenes, youtube api creating html5 video element inside iframe. there no html5 attribute specifies whether or not keep controls visible, therefore youtube cannot make controls stay visible on ios.

unfortunately, @ time, think solution build controls , use javascript dom api control video.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -