![]() |
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? |
are you using an actual html5 player? or just the built in browser one?
|
built in browser
|
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 |
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 |
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
|
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