Simple player in html5 and JS
#Changlelog
-
Added
- Better way to hide and show controls bar (need a little work on that)
Timeout
= 5 seconds for controls bar$($controls).clearQueue();
to avoid situation that controls bar animate few times without any event
-
Bugs
- Seeking isn't working every time, because of
timeupdate
. When we will try to seek andtimeupdate
will change at the same time, seeking won't work - After exit fullscreen by
ESC
icon of fullscreen doesn't change (Probably because of default settings of browser)
- Seeking isn't working every time, because of
-
TODO
- Fix bugs
- Add styles for every browser (Safari, Firefox, Opera, IE)
- Added
- Tests by jasmine (It's only beginning)
- Removed icon of fullscreen (In fullscreen and miniplayer icon is the same)
- Used ternary operator and replaced some
if
statements
- Bugs
- Seeking isn't working every time, because of
timeupdate
. When we will try to seek andtimeupdate
will change at the same time, seeking won't work - Player does not support other browsers
- Seeking isn't working every time, because of
- TODO
- Add autoplay after end of video
- Add buffer bar
- Added
- Removed tests by jasmine
- Added
webpack
- Hiding control bar
- seeking fix