I am using jPlayer jquery-ui theme: http://jplayer.org/latest/demo-07
When I press the pause button on my player, the button shows the pause heading and the pause icon is not displayed. The icon should be placed in jquery-ui classes: ui-icon ui-icon-pause
Comparing it with the original from the link above, I noticed that in the "style: no" element, the inline style is replaced by display: inline.
In the original, it is replaced bydisplay: block
<a title="pause" tabindex="2" class="jp-pause ui-icon ui-icon-pause" href="javascript:;" style="display: none;">pause</a>
When setting this in Firebug, the icon displays correctly.
So why does it replace display: nonewith display: inlineinstead of display: blockin my player when the pause button is pressed?
I assume jPlayer uses the hide () and show () functions of jquery to switch buttons.
ivoba source
share