Ticket #1674 (closed bug: worksforme)
Can't remove time slider from HTML5 skin
| Reported by: | pablo | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | html5 | Keywords: | |
| Cc: | Forum thread: | http://www.longtailvideo.com/support/forums/jw-player/player-development-and-customization/27802/skins-without-time-slider-in-html5 |
Description (last modified by pablo) (diff)
Although it's allowed in Flash mode, the HTML5 player breaks if the timeslider is removed from the skin.
From Fabien Quatravaux:
I solved this error by just adding a if() arrond a call to this element (line 5877 of the unminified jwplayer.js file v5.10 http://developer.longtailvideo.com/trac/browser/tags/mediaplayer-5.10/js/bin-debug/jwplayer.js):
if (_utils.exists(_elements.timeSlider)){
_elements.timeSlider.style.width = timeSliderWidth + "px";
}
if (_utils.exists(_elements.timeSliderRail)){
_elements.timeSliderRail.style.width = timeSliderRailWidth + "px";
}
Change History
Note: See
TracTickets for help on using
tickets.
