Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

openplayer

rafa862686MIT1.2.1TypeScript support: included

HTML5 video and audio player

media, video, audio, hls, dash, mp4, mp3, openplayer

readme

changelog

1.2.1 (2018-08-27)

Bug Fixes

  • ads: Added conditional to avoid autoplay when an error occurs attempting to play Ads (0d67fe5)
  • ads: Added new conditional to play media if error was detected on Ads; added missing docs (786a104)
  • ads: Test autoplay capabilities inside Ads only if autoStart is set to true (694544d)
  • documentation: More verbosity in JS snippet to clarify possible values (9c709d4)
  • player: Added missing event and avoid default behavior on play button (eafc260)
  • player: Changed target to execute keydown event to main wrapper to use keyboard successfully (c67c595)
  • tests: Fixed unit tests due changes on event (f48c0a7)

1.2.0 (2018-08-22)

Bug Fixes

  • package: Downgrade cssnano version (93acdaa)
  • player: Added requestAnimationFrame and cancelAnimationFrame for resize events (01da7f7)
  • player: Added missing conditionals to set proper config on HLS and Dash players; changed test source to use HTTPS (46a02f9)
  • player: Fixed fill effect by using more CSS properties to enable proper resizing using that effect (9547a11)
  • webpack: Removed configuration for cssnano configuration and updated package (aa12ccc)

1.1.5 (2018-08-22)

Bug Fixes

  • package: Downgrade cssnano version (93acdaa)
  • player: Added requestAnimationFrame and cancelAnimationFrame for resize events (01da7f7)
  • player: Added missing conditionals to set proper config on HLS and Dash players; changed test source to use HTTPS (46a02f9)
  • player: Fixed fill effect by using more CSS properties to enable proper resizing using that effect (9547a11)
  • webpack: Removed configuration for cssnano configuration and updated package (aa12ccc)

1.1.5 (2018-08-22)

Bug Fixes

  • package: Downgrade cssnano version (93acdaa)
  • player: Added requestAnimationFrame and cancelAnimationFrame for resize events (01da7f7)
  • player: Added missing conditionals to set proper config on HLS and Dash players; changed test source to use HTTPS (46a02f9)
  • player: Fixed fill effect by using more CSS properties to enable proper resizing using that effect (9547a11)
  • webpack: Removed configuration for cssnano configuration and updated package (aa12ccc)

1.2.0 (2018-08-22)

Bug Fixes

  • package: Downgrade cssnano version (93acdaa)
  • player: Added requestAnimationFrame and cancelAnimationFrame for resize events (01da7f7)
  • player: Added missing conditionals to set proper config on HLS and Dash players; changed test source to use HTTPS (46a02f9)
  • player: Fixed fill effect by using more CSS properties to enable proper resizing using that effect (9547a11)
  • webpack: Removed configuration for cssnano configuration and updated package (aa12ccc)

1.1.5 (2018-07-23)

Bug Fixes

  • package: Downgrade cssnano version (93acdaa)
  • release: Removed unnecessary commands (c521bca)

1.1.4 (2018-06-18)

Bug Fixes

  • documentation: Fixed typos (122742d)
  • player: Added missing conditional to remove event correctly (11fb824)
  • release: Removed unnecessary commands (c521bca)

1.1.3 (2018-05-31)

Bug Fixes

  • player: Removed missing window event listener once player is destroyed (7dbcf84)

1.1.2 (2018-05-18)

Bug Fixes

  • player: Added missing conditional to avoid attempting to build player when element does not exist (20c65cb)

1.1.1 (2018-05-17)

Bug Fixes

  • package: Updated packages and fixed names for main, style and types elements (d73aa68)
  • test: Fixed bundle path in Karma config (7e16e0c)
  • test: Fixed path for bundles in test file (9b5f0e5)

1.1.0 (2018-05-17)

Bug Fixes

  • config: modified config elements to create bundles correctly (03e23c2)

1.0.2 (2018-05-09)

Bug Fixes

  • ads: Fixed workflow to autoplay Ads in iOS by playing them muted initially (45e00aa)
  • controls: Added missing workflow for mobile devices to avoid hiding controls (32d8f36)

Features

  • release: Added release-it package to simplify release tasks (7f7be84)

1.0.1 (2018-05-02)

Bug Fixes

  • Definitions: Removed export keywords and fixed header to pass tests (166f16d)

1.0.0 (2018-05-02)

Bug Fixes

  • Ads: Fixed Ads workflow when playing midroll Ads not updating properly Play button (c0f8703)
  • Documentation: Changed order of certain methods for consistency, and refactor type definition file (8e58f83)
  • Player: Removed conditional to create controls on iPhone as well, and added negative z-index in Ads container when inactive (2c60e29)
  • Styles: Added missing z-index in buttons to override progress bar index in IE11 (ec8af9e)

0.2.0 (2018-04-23)

  • Documentation: Completed work on API and methods sections; added new NPM commands

0.1.0 (2018-04-18)

Bug Fixes

  • Tests: Changed version of NodeJS (9877597)
  • Tests: Added missing elements to Travis config file (8c9ec21)
  • Tests: Removed elements from Travis CI config to allow Greenkeeper to work (8ba5e73)
  • Tests: Removed unnecessary task from Travis CI (b58b6db)

Features

  • Tests: Added browser tests with Mocha/Chai and support for Travis CI (e43b197)