- add
playsInline
to<Video>
- fix bug introduced in 2.0.6 where Media ending would pause playback
-
fix bug where scrubber keys could not be properly reassigned
-
fix normalization in Script constructor
- package as UMD
-
work correctly with keyboard play/pause buttons
-
make scrubber bar work on desktop touchscreens
-
no longer necessary to call
.ready()
, now a noop -
more intelligent canvasClick/keyCapture behavior
-
enable captions
-
correctly remove listeners when unmounting
<Audio>
/<Video>
-
remove silly
<Video>
hiding behavior -
add
Script.playback
to typings
- fix bug in
KeyMap.normalize
+ mistyping asKeyMap.canonize
- fix bug in mobile styling
KeyMap.getHandlers
will return[]
on unbound sequences instead of throwing error
-
remove Cursor; use rp-cursor instead
-
rename
Player.$controls
->Player.controls
-
remove
Player.CONTROLS_HEIGHT
-
support ordinary events in
Player.preventCanvasClick
-
added
Player.allowScroll
-
added
Script.parseStart
andScript.parseEnd
-
added
Utils.time.timeRegexp
-
added
Utils.replayData
-
added some documentation
-
workaround for facebook/react#2043 affecting Android (now fixed in React v.17)
-
added
Utils.react.captureRef
-
added
useMarkerUpdate
,usePlayer
,useTimeUpdate
hooks -
added
rp-volume-color
CSS variable -
removed
rememberVolumeSettings
due to cookie laws -
added
KeyMap
-
removed plugin system and "hooks" system (easily confused with React's Hooks); added
Player.props.controls
andPlayer.defaultControls*
to replace -
removed
LoadingScreen
-
added
Player.reparseTree
-
allowed
Utils.misc.range
to take two arguments
- fix typings for
utils/animation/replay
- add
attachClickHandler
inutils/mobile
-
better mobile scrubbing
-
remove external fonts
-
work around opacity bug on Safari
- use
StrictEventEmitter
for better typing
- specify
files
correctly inpackage.json
First stable release
Initial public release