GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Anyone know how to always display control bar in html5 video? (https://gfy.com/showthread.php?t=1114428)

Jel 07-04-2013 06:43 AM

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 :thumbsup

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 07-04-2013 07:48 AM

are you using an actual html5 player? or just the built in browser one?

Jel 07-04-2013 08:14 AM

built in browser

SplatterMaster 07-04-2013 08:49 AM

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

SplatterMaster 07-04-2013 09:12 AM

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

Jel 07-04-2013 12:04 PM

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

Jel 07-04-2013 12:11 PM

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


All times are GMT -7. The time now is 12:36 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc