How do you hide all the controls?

1,800 views
Skip to first unread message

Henry Minsky

unread,
Feb 4, 2011, 11:39:44 PM2/4/11
to jPlayer: HTML5 Audio & Video for jQuery
I want to implement my own playback controls via another mechanism
than the css styling. Is there a cssSelector I can pass in to just
make the controls permanently invisible? Or is there another API for
this?

thanks!

Mark Panaghiston

unread,
Feb 8, 2011, 2:57:39 PM2/8/11
to jpl...@googlegroups.com
You can remove the HTML for the interface. All you need is the jPlayer DIV, which is what jPlayer uses to add audio or video to the page.

There is this guide:
http://www.jplayer.org/latest/quick-start-guide/api-cssSelector/

You can do everything outside jPlayer if you want. We just built in some interface defaults so as to ease its use for many users.

The only thing you might notice is that there are a bunch of warnings if the default css selectors are not found. You can either ignore the warnings, or set all the css selectors through the constructor option to an empty string.

Best regards,
Mark P.
Reply all
Reply to author
Forward
0 new messages