Releases: clappr/clappr
Releases · clappr/clappr
0.2.35
- fixed current level (0) bug
- add
getStartTimeOffset
- updates hls.js (0.5.0) and flashls (0.4.19)
- updates babel
- hides duration (current time) if using actual time in seek time component
Thanks @bikegriffith @tjenkinson @me-vlad and @jlmcdonald
Manual tests (we need to write tests for this)
- Play a mp4 media (Chrome, Firefox and Safari)
- Play an hls media (Safari)
- Play an hls media on hls.js (Chrome and Firefox)
- Play an hls media on flashls (Chrome and Firefox)
0.2.34
- updates hls.js to v0.4.8
- fixes "back to live"
- fixes three spinner bounce
- lots of refactoring on html5 video playback
- fix some bugs on legacy IE
👏 Thanks to @michaelcunningham19 @flavioribeiro and last but not least @tjenkinson 👏
Manual tests (we need to write tests for this)
- Play a mp4 media (Chrome, Firefox and Safari)
- Play an hls media (Safari)
- Play an hls media on hls.js (Chrome and Firefox)
- Play an hls media on flashls (Chrome and Firefox)
0.2.33
- fixes
autoStart
for hls.js
0.2.31
- lots of refactoring & fixes
- adds documentation about how to customize your own media control
- refactoring how buffering works on html5 video tag
- adds options
audioOnly
as hint - poster will stay in audioOnly playback
- updates hls.js and flahls
- adds
watermarkLink
option
Thanks @bikegriffith @tjenkinson @hounvs @me-vlad
0.2.30
- lots of refactorings & fixes
- updates hls.js dependency
- updates flashls dependency
- adds
ended
property to: playback, container and player - adds
maxSkippedFragments
to flashls
0.2.29
- now you can pass a list of plugins (instead of knowing how they work internally)
-- { plugins: { core: [], container: []}
++{ plugins: []}
0.2.28
Changelog
- adds isReady property to all playbacks
- adds end video plugin
Heads up
If your core plugin relies on either: playback (core.getCurrentPlayaback()
) or container (core.getCurrentContainer()
) you should bind these events in a different manner:
bindEvents() {
// here it's not safe to assume core.container will exist
this.listenTo(this.core, Events.CORE_READY, this.bindPlaybackEvents)
}
bindPlaybackEvents() {
this.listenTo(this.core.container, Events.CONTAINER_X, this.myHandler)
}
0.2.27
- tons of refactorings: seek time (became a core plugin), dvr controls, container, core and etc.
- new plugin
SourcesPlugin
to handle multi sources - allows overriding loader component
- adds 'events' property to options
new Clappr.Player({
//... now you also subscribe to player events using options
events: {
"onPlay": function() { },
"onError": function() { },
}
})
- updates documentation
- new event:
CORE_CONTAINERS_CREATED
- events changed:
PLAYBACK_LEVELS_AVAILABLE
(with additional parameterinitial
level) - faster start up #696 (canplay fires bufferfull)
- lots of fixes
0.2.25
- fixes
player.configure
to don't recreate containers every time - new events:
CORE_READY
andPLAYER_READY
- updates
hls.js
to v0.3.9 - updates
flashls
to v0.4.4.16
0.2.24
- updates hls.js to v0.3.5
- updates flashls
- new events:
PLAYBACK_STOP
,PLAYBACK_LEVELS_AVAILABLE
,PLAYBACK_LEVEL_SWITCH_START
,PLAYBACK_LEVEL_SWITCH_END
,CONTAINER_OPTIONS_CHANGE
andCORE_OPTIONS_CHANGE
- fixes: #651, resize observer leak
- adds options
actualLiveTime
,autoSeekFromUrl
- enables upload of external plugins on cdn.clappr.io
- adds flashls configuration parameter #707
- adds wmode property to flash base playback
- HTML5VideoPlayback have priority over HTML5AudioPlayback
- adds the possibility to reconfigure the player after its instantiation
configure
Changes to API
-UIContainerPlugin(options)
+UIContainerPlugin(container)
-ContainerPlugin(options)
+ContainerPlugin(container)
Heads up
When you need to access any of the options
please use: this.options
(on xContainer plugins) and this.core.options
(on xCore plugins).
Usage examples:
player.configure({poster: 'newPoster.jpg'}) //will change the poster
player.configure({src: 'newSource'}) //will load the new media