Anyone know how to always display control bar in html5 video?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jel
    Confirmed User
    • Feb 2007
    • 6904

    #1

    Anyone know how to always display control bar in html5 video?

    As per title, I want the control bar to stay visible instead of fading out after a few seconds of the video playing

    current code:

    <video poster="blah.jpg" controls>
    <source src="blah.mp4" type='video/mp4'></source>
    <source src="blah.ogv" type='video/ogg'></source>
    <source src="blah.webm" type='video/webm'></source>
    <source src="blah.flv" type='video/flv'></source>
    </video>

    googled to no avail, tried adding "true" after controls, but pissing in the wind by guessing, can it be done, and if so, how?
  • fris
    I have to go potty
    • Aug 2002
    • 55715

    #2
    are you using an actual html5 player? or just the built in browser one?
    Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

    My Latest Theme

    Comment

    • Jel
      Confirmed User
      • Feb 2007
      • 6904

      #3
      built in browser

      Comment

      • SplatterMaster
        Confirmed User
        • Jan 2012
        • 790

        #4
        Try
        controls="true"

        http://www.w3schools.com/tags/av_prop_controls.asp

        More for audio and video
        http://www.w3schools.com/tags/ref_av_dom.asp

        EDIT* See you tried that
        Last edited by SplatterMaster; 07-04-2013, 07:52 AM.

        Comment

        • SplatterMaster
          Confirmed User
          • Jan 2012
          • 790

          #5
          ha, the above I posted looks wrong anyways. Looks like those methods are for JavaScript.

          Here's just the video tag http://www.w3schools.com/tags/tag_video.asp

          Maybe try controls before poster? Not sure if it matters which comes first. If I look at the poster attribute here controls is before it http://www.w3schools.com/tags/att_video_poster.asp

          Comment

          • Jel
            Confirmed User
            • Feb 2007
            • 6904

            #6
            thanks mate, still can't get it to force the control bar to stay visible though >< Got a feeling it isn't possible in standard html5, though can't find anywhere that even confirms that lol :D

            Comment

            • Jel
              Confirmed User
              • Feb 2007
              • 6904

              #7
              though http://www.w3schools.com/tags/att_video_controls.asp pretty much indicates it isn't a variable function I guess

              Comment

              Working...