Skip to content

Releases: THEOplayer/web-ui

v1.9.0

06 Sep 14:00
Compare
Choose a tag to compare

@theoplayer/web-ui

  • πŸš€ Added support for THEOplayer 8.0.

@theoplayer/react-ui

  • πŸš€ Added support for THEOplayer 8.0.

v1.8.2

29 Aug 08:47
52165fe
Compare
Choose a tag to compare
  • πŸ› Fixed blank space below UI when using <theoplayer-default-ui>.
  • πŸ’… Optimized performance of <theoplayer-time-range>. (#70)
    • Optimized the requestAnimationFrame callback used to update the seekbar's progress
      to avoid synchronous re-layouts as much as possible.
    • When playing a long video, the seek bar no longer uses requestAnimationFrame at all to update its progress.
      Instead, it updates using only less frequent timeupdate events.

v1.8.1

18 Apr 13:56
f8f9be4
Compare
Choose a tag to compare

@theoplayer/web-ui

  • πŸ› Fixed ui.player.destroy() not working. (#59, #62)

@theoplayer/react-ui

  • πŸ› Fixed backing THEOplayer not always being destroyed on unmount. (#59, #62)

v1.8.0

12 Apr 10:36
Compare
Choose a tag to compare

@theoplayer/web-ui

  • πŸ’₯ Breaking Change: This project now requires THEOplayer version 7.0.0 or higher. (#60)
  • πŸš€ Added <theolive-default-ui> that provides a default UI for THEOlive streams. (#58)

@theoplayer/react-ui

  • πŸ’₯ Breaking Change: This project now requires THEOplayer version 7.0.0 or higher. (#60)
  • πŸš€ Added <THEOliveDefaultUI> that provides a default UI for THEOlive streams. (#58)

v1.7.2

18 Mar 10:53
Compare
Choose a tag to compare

@theoplayer/web-ui

  • πŸš€ Added <theoplayer-slot-container>. (#55)

@theoplayer/react-ui

  • πŸ› Fixed topChrome, middleChrome and centeredChrome slots not auto-hiding in <UIContainer>. (#55)
  • πŸ› Fixed no-auto-hide attribute not working for React components. (#55)
  • πŸš€ Added <SlotContainer>. (#55)

v1.7.1

15 Feb 13:25
Compare
Choose a tag to compare

@theoplayer/web-ui

  • πŸ’… Export version in public API. (#53)
  • πŸ’… Allow importing @theoplayer/web-ui/package.json. (#53)

@theoplayer/react-ui

  • πŸ› Fix "Warning: useLayoutEffect does nothing on the server" when using @theoplayer/react-ui in Node. (#52)
  • πŸ’… Export version in public API. (#53)
  • πŸ’… Allow importing @theoplayer/react-ui/package.json. (#53)

v1.7.0

15 Feb 10:21
Compare
Choose a tag to compare

@theoplayer/web-ui

  • πŸš€ Added support for loading in Node for static site generation (SSG) or server-side rendering (SSR). (#50)
    • ⚠️ Although the Node entry point exports all custom element classes as usual, attempting to actually construct those classes will result in errors. Most dependencies are either replaced with stubs (using @lit-labs/ssr-dom-shim) or removed altogether (such as THEOplayer itself).
    • This should always be used together with an SSG or SSR solution. For example, you can use Open Video UI for React together with React server rendering.
  • πŸ› Fixed an issue where <theoplayer-ui> could throw an error when the player changes sources before all custom elements are properly registered. (#49)

@theoplayer/react-ui

  • πŸš€ Added support for loading in Node for static site generation (SSG) or server-side rendering (SSR). (#50)
    • This allows you to pass React components (such as <DefaultUI>, <UIContainer> or <PlayButton>) to the Server React DOM APIs, or to use them with a framework that supports SSG or SSR (such as Next.js, Remix or Gatsby).
    • ⚠️ The rendered HTML must still be hydrated on the client to load the Open Video UI properly. (Usually, this handled automatically by your React framework.)
  • πŸš€ Added utility hooks such as useCurrentTime(), usePaused() and useVolume(). (#51)

v1.6.0

08 Feb 15:50
Compare
Choose a tag to compare

@theoplayer/web-ui

  • πŸš€ Introducing Open Video UI for React. (#48)
    • Idiomatic React components make the Open Video UI feel right at home in your existing React web app.
  • πŸš€ Added support for advertisements while casting to Chromecast. This requires THEOplayer version 6.8.0 or higher. (#47)
  • πŸš€ Added theoplayerready event to <theoplayer-default-ui> and <theoplayer-ui>, which is fired once the backing THEOplayer instance is created. (#48).

@theoplayer/react-ui

  • πŸš€ Initial release

v1.5.0

27 Nov 13:12
Compare
Choose a tag to compare
  • πŸš€ Added support for smart TVs. (#40)
    • Updated <theoplayer-default-ui> to automatically switch to an optimized layout when running on a smart TV.
      For custom UIs using <theoplayer-ui>, you can use the tv-only and tv-hidden attributes to show or hide specific UI elements on smart TVs.
    • Added support for navigating the UI using a TV remote control.
    • Added a tv-focus attribute to specify which UI element should receive the initial focus when showing the controls on a TV.
      In the default UI, initial focus is on the seek bar.
  • πŸš€ Allow overriding more CSS properties of <theoplayer-default-ui>. (#42)
  • πŸ’… Renamed project to "THEOplayer Open Video UI for Web". (#43)

v1.4.0

04 Oct 13:12
Compare
Choose a tag to compare
  • πŸ’₯ Breaking Change: This project now requires THEOplayer version 6.0.0 or higher.
  • πŸš€ THEOplayer Web UI now imports THEOplayer as a JavaScript module using import from 'theoplayer/chromeless'.
    See the README for updated installation instructions.
  • πŸ› When the player's source is empty, the UI will no longer attempt to play when clicked. (#37)