Skip to content

Releases: clappr/clappr

0.2.35

10 Feb 12:11
Compare
Choose a tag to compare
  • 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

02 Feb 00:15
Compare
Choose a tag to compare
  • 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

26 Jan 19:00
Compare
Choose a tag to compare
  • fixes autoStart for hls.js

0.2.31

26 Jan 13:43
Compare
Choose a tag to compare
  • 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

18 Jan 19:12
Compare
Choose a tag to compare
  • 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

23 Dec 11:22
Compare
Choose a tag to compare
  • now you can pass a list of plugins (instead of knowing how they work internally)
-- { plugins: { core: [], container: []}
++{ plugins: []}

0.2.28

17 Dec 23:33
Compare
Choose a tag to compare

Changelog

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

16 Dec 17:19
Compare
Choose a tag to compare
  • 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 parameter initial level)
  • faster start up #696 (canplay fires bufferfull)
  • lots of fixes

0.2.25

10 Dec 18:13
Compare
Choose a tag to compare
  • fixes player.configure to don't recreate containers every time
  • new events: CORE_READY and PLAYER_READY
  • updates hls.js to v0.3.9
  • updates flashls to v0.4.4.16

0.2.24

08 Dec 19:15
Compare
Choose a tag to compare
  • 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 and CORE_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