glenvern Posted May 24, 2013 Share Posted May 24, 2013 How do I hide a music player control bar? I need background music but do not want to see the control bar on screen. I have tried <embed> with control height and width set to 0.I have tried <object> with control height and width set to 0 but still get Quicktime, Real, VLC control bars showing. Link to comment Share on other sites More sharing options...
newseed Posted May 24, 2013 Share Posted May 24, 2013 (edited) Use position: absolute; top: -999em; . It will still be there but not visible to users because it way off the screen. Now, what if someone does not want to hear your background music? I mean every time they hit that page they are going to hear the same tune over and over again which is why you very, very few site using them and for those that do use them they give the user the option to turn it off. That's my two-bits worth. Edited May 24, 2013 by newseed Link to comment Share on other sites More sharing options...
glenvern Posted May 26, 2013 Author Share Posted May 26, 2013 Thanx for that, I shall give it a go.It's a music page if they don't want to hear the music they wont go on the pagebecause that is all that page does is play that music and nothing else. Link to comment Share on other sites More sharing options...
MarkT Posted May 29, 2013 Share Posted May 29, 2013 How do I hide a music player control bar? I need background music but do not want to see the control bar on screen. I have tried <embed> with control height and width set to 0.I have tried <object> with control height and width set to 0 but still get Quicktime, Real, VLC control bars showing.Put it inside a DIV,for example;<div id="player"> Player Code Here</div> then CSS; #player {display: none;} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now