Skip to content

Latest commit

 

History

History
1121 lines (750 loc) · 69.9 KB

CHANGELOG.md

File metadata and controls

1121 lines (750 loc) · 69.9 KB

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

Generated by auto-changelog.

31 May 2020

  • Correct typings for onReady #884
  • Add webpackChunkName to dynamic imports #899
  • Add patreon info to readme c4c597f

23 May 2020

  • Match YouTube User Uploads #877
  • Destroy previous vidyard player before creating new one #894
  • Improve light mode a11y #878
  • Prevent Soundcloud onPause right before onEnded #879
  • Prevent unwanted Vidyard autoplay #887
  • Add onUnstarted youtube config option #888
  • Reset hls and dash before loading new url #892 #874
  • Support youtube-nocookie.com #896 #272 #557
  • Fix youtube fragment looping #897
  • Prevent dynamic import transforms to fix lazy loading #886
  • Fix youtube example playlist fcf4657

28 April 2020

  • Adds the missing default data for the selected player #864
  • Only try and disablePIP on unmount if player is ready #849
  • Prevent Suspense being rendering during SSR #738 #865
  • Match twitch channel pattern case-insensitive #860
  • Rename refs to references #868 #866 #867 #861
  • Use file player for soundcloud hosted audio files #811

25 April 2020

  • Breaking change: Use lazy players 1752b8d
  • Breaking change: Remove preload support 1baa227
  • Breaking change: Remove legacy config props 9339efa

25 March 2020

  • fix for soundcloud direct file link #803
  • Update documented default hls.js version to 0.13.1 #806
  • Fix hls sdk url #826
  • Use proxy methods in wistia player #805
  • Move hls destroy from stop to unmount #817
  • Update vimeo readme links #819
  • Bump packages 013c9a8
  • Remove dist test page 763bb15
  • Add FUNDING.yml e708e8e

2 February 2020

  • Move @ava/babel to devDependencies #794
  • Update yarn.lock da79e77
  • Update facebook regex to match story URLs 94172f2

2 February 2020

  • Update facebook regex #793

31 January 2020

  • Bump handlebars from 4.2.0 to 4.5.3 #771
  • Add showPreview() method to ReactPlayer typings #785
  • Add playerId override to facebook and twitch players #788
  • Relax facebook regex #778
  • Update hls.js CDN and version #758 #768 #779
  • Bump packages 8c037ab
  • Bump packages 9c59c13
  • Migrate to terser-webpack-plugin 83fd60d

20 November 2019

  • Support to set custom facebook version #745

11 November 2019

  • Ignore React nodes in isEqual #740

6 November 2019

  • fixes #733 #736
  • Add PIP support for Safari #716
  • Properly delete SDK requests #718
  • Pass dash.js errors through to onError callback #732
  • Use https SDK urls by default #728
  • Add playIcon prop #730
  • fixes #733 (#736) #733
  • Tweak Twitch controls bug comment 987a18b

19 September 2019

  • Delete SDK requests array after loading error #711
  • Add typedef support for MediaStream url source #674
  • Add readme note about SDK overrides #605
  • Use proxy methods for FilePlayer listeners #616
  • Add pip support info to readme #694
  • Add controls support to Twitch and Vimeo #687
  • Remove default black backgrounds #673
  • Fix demo file paths #697
  • Bump packages 4c4e0b5
  • Bump packages 9d39d92

18 August 2019

10 August 2019

  • Fix preload display logic #675
  • Add showPreview instance method #679
  • Hide preview thumbnail when light changes to false #680
  • Add playbackRate support to Vimeo #681
  • Fix Vimeo fast switch bug #683

13 June 2019

  • Do not use vimeo API to play vimeo hosted video files. #597
  • Catches error on Vimeo play() #645
  • Update Meteor section in readme #647
  • [d.ts] Fix typing of arguments of onError handler #655
  • Fix twitch permanent loading state when stream is offline #657
  • Fix an issue with setting state in the Preview component after being unmounted. #658
  • Prevent double inline styles being applied #609
  • Fix onProgress for infinite duration streams #503
  • Fix light mode poster not updating #646
  • Fix youtube looping #530 #639 #662
  • Fix multiple onError params not being passed through #627

10 April 2019

  • Soundcloud - fix autoplay delegation #614
  • Implemented onBufferEnd cb prop for FilePlayer, YouTube and Facebook #615
  • Add on error callback to wistia player #617
  • align typings for seekTo method with code #619
  • Really really small typo in README.md #606
  • Add issue template ba6c274

24 March 2019

  • Add playsinline support to vimeo #574
  • Use normal wrapper for light mode #584
  • Pass controls prop through to preload players #587
  • Add Soundcloud preload to props files #588
  • Add type parameter to seekTo method #591
  • Set isLoading to false after error #595
  • Unbind wistia player events correctly #594

27 January 2019

27 January 2019

  • Support player setLoop methods #560
  • Upgrade screenfull #560

25 January 2019

  • Use https for noembed fetching #558 #448
  • Add controls toggle and light mode to demo app 0ba5b71
  • Show preview when switching from non-light to light 4a39dc4

24 January 2019

  • Allows wrapper proptype to be a ForwardRef component #556
  • playsinline for Android wechat #544
  • Fix broken URL for standalone script #546
  • Accept youtube.com/playlist?list= URLs #541
  • Add youtube embedOptions config option #557 #272
  • Bump deepmerge 7722679
  • Youtube playlist fixes 04bf181

19 December 2018

  • Add light prop #448

5 December 2018

  • Parse youtube playlist from URL list param #318
  • Loop youtube playlists correctly #530
  • Fix dist build 29fb971
  • Update npmignore 32e8286

17 November 2018

  • Support Chrome Picture In Picture (PIP) mode #504
  • Typings - label in TrackProps #489
  • fix: fix onProgress callback not firing during iOS live streams #497
  • Update vimeo preload URL #509
  • add absent methods signature #507
  • Add hlsVersion and dashVersion file config #513
  • Export single player exports to main file #421
  • Refresh vimeo duration on play #514
  • Use PLAYING event instead of PLAY for Twitch player #498
  • Do not call onEnded when looping #496
  • Prevent singlePlayer from returning null when forcing via config #500

20 September 2018

  • Add coverage to npmignore 580e21c

20 September 2018

  • Fix: signal multiple sources change to the browser #482
  • Check null before accessing FilePlayer properties #465
  • Adds hlsOptions to FileConfig def #483
  • Updated hls.js documentation link in README.md #440
  • Prevent YouTube from playing after seekTo when paused #437
  • Fix facebook iframe visibility bug #455
  • Update dailymotion regex #438
  • Fix issues with non-embeddable Facebook videos 48401ab
  • Enable partial line coverage with codecov 488f82d
  • Run tests before versioning 4055469

7 June 2018

  • YouTube videos not forwarding end param #420

6 June 2018

  • Set FilePlayer autoPlay correctly #405
  • Tidy up start and end timestamp logic #412
  • Improve MediaStream guards #415
  • Overhaul tests 4bd78e0
  • Remove requirement for window global 9618272
  • Player component tweaks 1ac1480

27 May 2018

  • Pass instance through to onReady callback #407
  • Mute preload players 16f5fcb

20 May 2018

17 May 2018

  • Add support for MediaStream objects #398
  • Prevent errors when switching URLs whilst loading #377
  • Prevent loading SDKs multiple times #391

15 May 2018

  • Add proper mute support to fix autoplay #395 #389
  • Mute player for tests 58c6a58
  • Fix vimeo config options property a645eee
  • Skip soundcloud tests 3958f8d

23 April 2018

  • Fix FilePlayer getSecondsLoaded #380
  • Add support for dropbox files #379
  • Tidy up getSecondsLoaded 93351f9
  • Update readme de639e4

11 April 2018

  • Add support for custom players #364
  • Add instance methods to single player imports #376
  • Fix tests 597bf33

5 April 2018

  • Render video element when poster is set #369
  • Add https to Twitch SDK URL #367
  • Add forceVideo option for FilePlayer a743396
  • Remove migration note 308bca9

22 March 2018

  • Fix file player load sequence on iOS #340
  • Do not use Vimeo player for vimeo.com file paths #358

15 March 2018

  • Include Mixcloud in README #342
  • Add support for twitch player options #343
  • Add single player wrapper div #346
  • Loosen up the vimeo URL pattern #349 #348
  • Pass through HLS errors to onError #354 #355
  • Set volume to null by default #357
  • Escape dots in URL patterns 129a179
  • Tweak tests 3b92c4a
  • Unmute facebook player when ready a672ee1

26 February 2018

  • Add progressInterval logic back in to onProgress #339
  • Skip mixcloud tests 34b51a4

23 February 2018

  • Fixes the onPause event propogation #336
  • Support custom wrappers #334
  • Add Mixcloud player #335
  • Add support for importing single players #311
  • Move onProgress logic into Player component 42a030e

21 February 2018

  • Match YouTube URL with extra parameters #332
  • Update mp3 example #330
  • Update stored config when props change #329
  • Pass through all source props when using array of objects #333
  • Skip wistia tests 6e536d1
  • Fix soundcloud canPlay test 1f158d1

8 February 2018

  • Add config.file.hlsOptions #325 #319
  • Send any soundcloud URL to the widget #322 #324
  • Change progressFrequency to progressInterval #317
  • Guard against navigator not being available #315
  • Update hls, dash and streamable SDKs 22dd274

18 January 2018

18 January 2018

17 January 2018

  • Do not load hls.js on iOS #293
  • Better prop comparison for shouldComponentUpdate #302
  • Less aggressive URL matching #297
  • Remove vidme player #294
  • Bump packages 7050614
  • Bump packages c309053
  • Use postcss-loader in favour of sass-loader d691af4

14 December 2017

5 December 2017

  • Vimeo On Demand URL Support #289
  • Use index keys for FilePlayer source array #276
  • Add more tests 2e88e5e
  • Add url switch tests 78c483c
  • Bump auto-changelog cd26b44

10 November 2017

  • Set internal isPlaying flag to false on ended #271
  • Bump auto-changelog e246e43

8 November 2017

  • Update twitch URL pattern #267
  • Retain player order to prevent weird iframe behaviour when switching players #264 #265

30 October 2017

30 October 2017

28 October 2017

  • Use latest auto-changelog d3401dc
  • Bump packages c381cc2
  • Prevent errors when unmounting before SDK loads 979e639

26 October 2017

26 October 2017

  • Loop when player is running #257
  • properly destroy HLS.JS and / or DASH.JS instances #254
  • Fix preloading 6dd81ba
  • Update readme d5ba064

17 October 2017

17 October 2017

  • Update typings for onProgress callback #246
  • Fix parameter name for Vimeo player configuration #243
  • Add passthrough prop support to typings #247
  • Fix Vimeo duration logic #250
  • fix parameter name for Vimeo player configuration f810221

4 October 2017

  • Update polyfill info #239
  • Use React 16 for demo #241
  • Tweak vimeo player logic #240
  • Bump packages a31ab1c
  • Update scripts and config file names 920c602
  • Remove promise and fetch polyfills from browser build a33238c

28 September 2017

  • Make getInternalPlayer more flexible #238

16 September 2017

  • Update Streamable player to use player.js #237
  • Bump auto-changelog 84ad345
  • Remove unnecessary stop logic from soundcloud f478f1a
  • Skip Streamable tests f210f93

14 September 2017

  • Updated TypeScript typings #235
  • Prevent warnings when unmounting preloading players 4c4d2ec

14 September 2017

  • update of DOM listeners in FilePlayer when audio/video tags was switched #234
  • Use callPlayer util for player methods c760655
  • Clean up tests 717397e
  • Refactor progress logic f1b12e2

11 September 2017

9 September 2017

9 September 2017

  • Use single config prop #71
  • Fix webpack production config #231
  • Remove legacy Soundcloud player a55ef3c
  • Readme tweaks c0071f2
  • Bring back static canPlay util f4861d7

8 September 2017

  • Soundcloud: use Widget API instead of HTTP API #199
  • Fixed broken TypeScript type definitions #230
  • Refactor development setup 81df2a8
  • Use Widget instead of Soundcloud API 4ea29f9
  • Tidy up Soundcloud player d0947e2

3 September 2017

  • Move SDK loading logic into getSDK util 318c9e9
  • Add Twitch player 288c18d
  • Add sourcemap config to uglify plugin 901dfbf

2 September 2017

27 July 2017

  • Allow seekTo to accept number of seconds #75
  • Pass errors when playing files through to onError callback #200
  • Add support for subtitle tracks in FilePlayer #214
  • Unmute facebook video when setting volume #215
  • Bump packages 8e9e57b

17 July 2017

  • More accurate played fraction for Wistia #201

13 July 2017

  • Detatch HLS media when stopping #212
  • Add wistia player options #198
  • Pass through auto or falsey width and height to FilePlayer #211
  • Only use add-module-exports plugin for bower build #193 #196
  • Bump packages 7372bcb
  • Remove need for findDOMNode in Vimeo player f6abc06
  • Add streaming tools to readme adf1338

9 May 2017

7 May 2017

  • Add forceAudio to fileConfig #188

5 May 2017

  • Fix initial loading bug for Private Vimeo videos #187
  • Fix initial loading bug for Private Vimeo videos ff8a449

30 April 2017

  • Add support for m.youtube.com #186
  • Add support for multiple file sources #81
  • Remove need for Vimeo player IDs 214a7af

27 April 2017

  • Apply all non-valid props to the wrapper element #183
  • Ensure YouTube player is in DOM when stopping #180
  • Use new Vimeo player API #142
  • Fix FilePlayer seekTo bug #149
  • Add Facebook player #109
  • Apply all non-valid props to the wrapper element #167
  • Added DailyMotion support. 71dcda6
  • DailyMotion tweaks 64f3cd3
  • Bump babel-loader 478c2c3

14 April 2017

  • Add vidmeConfig with choice of video format #162
  • Call player.load() when loading files #177
  • Add getCurrentTime and getDuration methods #178
  • Use prop-types library #179
  • Add loadedSeconds and playedSeconds to onProgress #164
  • Add playsinline prop #148
  • Bump packages 41aac30
  • Update to standard 10 1371cbc
  • Bump snazzy 90c60b3

21 February 2017

  • Add assertion for canPlay with https://vimeo #141
  • Use npm 4.x on travis #143
  • Use ubuntu 14.04 for travis #144
  • fixed width & height of video when it is in fullscreen mode #151
  • update webpack to 2.2.1 #156
  • Fix vidme url regex #158
  • Bump packages 92b9315
  • Minor code style fixes b39b1ec
  • Add assertion for making sure canPlay is valid for https://vimeo 0f55002

14 February 2017

  • Fix youtube player vars config usage #152
  • Fix npm prepublish script on windows #139
  • Use cross-env for build scripts a6191cf

1 January 2017

  • Use video element for ogg files #137

26 December 2016

12 December 2016

  • PlaybackRate change feature #123
  • Fix onProgress non-reporting if playing prop is not set. #127
  • Add additional audio file extensions to regex #131
  • Use node 6 on travis #130
  • Add typescript definition file #134
  • [feature] Change PlaybackRate d28c309
  • Fix incorrect duration calculation in demo app. 4114677
  • Remove unnecessary escape characters ec078d1

19 November 2016

  • Add fullscreen example to demo 563252b
  • Fullscreen youtube player fix 83e8e60

10 October 2016

  • Pass DOM node to YouTube Player instead of ID #111
  • update all dependencies #107
  • Add showArtwork option to soundcloud config #108
  • Tidy up code 0f18e71
  • Add Vidme support 609ee08
  • Remove anonymous ref callback functions 26aec63

26 September 2016

  • Add onReady prop #106

25 September 2016

  • Add hidden prop to ReactPlayer #102
  • Use mounted property to prevent setting state when unmounted #105
  • Update onProgress logic to still report loaded amounts when paused #94
  • Remove brackets from single param arrow functions ab24d08
  • Add Streamable player ff6a300
  • Use ref callbacks instead of ref strings 6c16ba0

9 August 2016

  • Ensure YouTube SDK is loaded before resolving promise #88
  • Fix looping behaviour #91
  • Add style prop #92
  • Skip tests before versioning ed6cab0

29 July 2016

  • Add support for non-es5 compatible browsers #87
  • Render FilePlayer by default 8d249ce
  • Add babel es3 plugins 26abe2c
  • Bump packages 2d43659

27 July 2016

  • Always send both played and loaded values in progress events #79
  • Add RTSP stream support to FilePlayer #83
  • Move initial setVolume to onStart #82
  • Update player when width or height changes #84
  • Stop progress loop on pause 180039b

23 June 2016

  • Pause FilePlayer when stopping #78

21 June 2016

  • Pass fileConfig down correctly 1dffcca

3 June 2016

  • Add m4v and m4a extensions to filePlayer #72
  • Fix onDuration being called with null #52
  • Rename seekOnReady to seekOnPlay 91f7344
  • Add failing onDuration test 564243e
  • Nest media switching test in a describe block 2fe8806

1 June 2016

  • Update supported file type regex #68
  • Update README.md links #66
  • Tweak example usage eff2623
  • make file extensions case insensitive 6f0f346
  • Update supported media readme c37e87e

21 May 2016

  • Use filePlayer for SoundCloud tracks #64
  • Add controls prop 9a2ae22
  • Tidy up filePlayer 79c2d5a
  • Skip FilePlayer onError test c4ed490

19 May 2016

  • Add filePlayer config prop #62
  • Add loop prop #57
  • Add onStart prop #61
  • Use fetch-jsonp for SoundCloud resolve endpoint #24 #47
  • Remove class property semicolons 0c8070d
  • Remove arrow function brackets cb71f30
  • Add contribution guidelines 16f515d

19 April 2016

13 April 2016

  • Pass on error event #48
  • Add FilePlayer support for urls with query string #45
  • Add progressFrequency prop #50
  • Only include played amount in onProgress when playing #51
  • Pass on event including error message and code onError #44
  • Add default props to readme 2abb25e
  • Ignore dist when linting 1740ca6
  • Specify https in YouTube SDK location c05bd9d

8 March 2016

  • Fix bower support #42
  • Update readme with mobile considerations #41
  • Remove comments from production builds 03a4e22
  • Fix browser build 78463b2
  • Bump karma-mocha-reporter 98bc28a

29 February 2016

  • Add browser build #35 #38
  • Add promise and fetch polyfills to build #39
  • Update standard code style 7231c45
  • Add bower.json e95ee66
  • Add react-component keyword fb50625

3 February 2016

  • Remove the need for array.find polyfill 7aa4719
  • Add demo deployment to travis build 60bcaf6
  • Tweak YouTube default playerVars b99e6d9

26 January 2016

  • Support YouTube start time param 7908463
  • Better karma test grouping 8a3d4e8
  • Better SoundCloud error handling bce57af

25 January 2016

21 January 2016

  • Move onDuration callback from onReady to onPlay #31
  • Destructure state in demo render method 6ed327d
  • Add simple Duration component to improve demo d42c6d3
  • Change onProgress frequency to 1 second 45746d9

14 January 2016

  • Add onDuration prop #28
  • Ensure YouTube player calls onReady on subsequent loads 3a997bb
  • Ensure vimeo player has duration before calling onReady 8b31a8f
  • Add live demo to readme 4aa8a29

11 January 2016

  • Add semicolons to class properties #27
  • Limit Travis to just basic tests #26
  • Bump packages 21f03b2

11 January 2016

9 January 2016

  • Use react-transform development setup #25
  • Add basic karma testing #22
  • Rebase on react-transform-boilerplate #8
  • Add styles and various fixes to the demo app 0b16606
  • Use a partial shrinkwrap to limit babel packages to 6.3 e9bcd72
  • Separate demo files c7230e7

4 January 2016

  • When seeking before player is ready, store value and seek later #19
  • Remove redundant soundcloud player options 647fa9e
  • Prevent IndexSizeError in FilePlayer ba31958
  • Fix FilePlayer not loading on mount 00f9671

4 January 2016

  • Ensure volume on subsequent youtube loads 5895663

4 January 2016

  • Fix YouTube onReady bugs #21
  • Set isReady before setVolume in onReady #23
  • Handle YouTube URL change during SDK load #20
  • Tidy up YouTube code 64c952f
  • Lint and test before versioning fdf2fa3

3 January 2016

2 January 2016

  • Stronger guards for YouTube player methods f18792a

2 January 2016

  • Use explicit isReady property to guard player methods #18
  • Improve progress logic b0b3040
  • Remove propTypes and defaultProps from players 796edd1
  • Start using auto-changelog 373b698

27 December 2015

  • Use displayNames for players #17
  • Fix changelog link f82b351

24 December 2015

  • Prime players to enable autoplay when out of focus #13
  • Enable multiple YouTube players #15
  • Prime Youtube and Vimeo players with a blank video #7
  • Move defaultProps to separate props file 90ef334
  • Always render every player 158fdde
  • Move progress logic from players to top level component 17fbef8

13 November 2015

  • Remove autoplay and only play if props.playing is true when ready #10
  • Be a bit more const-friendly a15700a
  • Better npm publish cleanup scripts 821be95
  • Add onError support to FilePlayer 63f1660

6 November 2015

  • Configuration #4
  • Abort SoundCloud streaming if url changes during requests #6
  • pass configuration options to players via props f1395d1
  • Add change log 28dfdad
  • Update readme e99df95

19 October 2015

  • Add FilePlayer for HTML5 media files 66482d5
  • Add very basic shallow rendering tests 7beccbe
  • Vimeo player improvements d308aa6

20 September 2015

  • Use findDOMNode #3
  • Add basic unit tests for static canPlay method f1cde2c
  • Improve SoundCloud URL regex 3c4c5fa

10 September 2015

  • Guard against no iframe contentWindow in Vimeo player #2
  • Set correct initial state in ReactPlayer #2
  • Stop soundcloud track before playing another 61bc61e

31 August 2015

  • Use shouldComponentUpdate to prevent unnecessary rendering b7ca5a6
  • Fix onProgress bug 1bf018e

27 August 2015

27 August 2015

  • Add Array.find() polyfill #1
  • Add fetch polyfill libraries to package.json #1

26 August 2015

v0.0.2

24 August 2015

  • First commit a4deecf
  • Move react package to dev and peer dependencies f42ea0c