Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cookpete/react-player
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.15.3
Choose a base ref
...
head repository: cookpete/react-player
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.0
Choose a head ref
  • 14 commits
  • 50 files changed
  • 1 contributor

Commits on Apr 12, 2020

  1. Use lazy players

    Refactors player logic to enable lazy loading of players, only loading player files for URLs that you pass in
    
    Breaking changes:
    - Removes single player imports, as they are now equivalent to importing the default ReactPlayer and using one type of URL
    - Requires React 16.6 or later
    cookpete committed Apr 12, 2020
    Configuration menu
    Copy the full SHA
    1752b8d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7c00d00 View commit details
    Browse the repository at this point in the history
  3. Tweak getActivePlayer

    cookpete committed Apr 12, 2020
    Configuration menu
    Copy the full SHA
    af0c5eb View commit details
    Browse the repository at this point in the history
  4. Tweak player mount logic

    cookpete committed Apr 12, 2020
    Configuration menu
    Copy the full SHA
    1243499 View commit details
    Browse the repository at this point in the history
  5. Add Vidyard player

    cookpete committed Apr 12, 2020
    Configuration menu
    Copy the full SHA
    f9411eb View commit details
    Browse the repository at this point in the history
  6. Remove preload support

    - It’s quite a hacky solution
    - Autoplay policy changes render it buggy/redundant
    - Unnecessary bytes/computation for the vast majority of users
    
    Breaking changes:
    - Removes support for preloading players
    cookpete committed Apr 12, 2020
    Configuration menu
    Copy the full SHA
    1baa227 View commit details
    Browse the repository at this point in the history
  7. Remove legacy config props

    Breaking changes:
    - Legacy config props will no longer work
    cookpete committed Apr 12, 2020
    Configuration menu
    Copy the full SHA
    9339efa View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2020

  1. Bump packages

    Also add breaking pattern for auto-changelog
    cookpete committed Apr 25, 2020
    Configuration menu
    Copy the full SHA
    68a93f0 View commit details
    Browse the repository at this point in the history
  2. Remove canPlay from individual players

    Now all handled by the players index file
    cookpete committed Apr 25, 2020
    Configuration menu
    Copy the full SHA
    bd54ee5 View commit details
    Browse the repository at this point in the history
  3. Improve root player rendering logic

    Uses `memoize-one` to avoid looping through players and merging configs on every render
    cookpete committed Apr 25, 2020
    Configuration menu
    Copy the full SHA
    9c9a4d4 View commit details
    Browse the repository at this point in the history
  4. Update players to use top level config

    Player-specific config now gets passed through as `config` due to the new config merging logic
    cookpete committed Apr 25, 2020
    Configuration menu
    Copy the full SHA
    082e639 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bb68507 View commit details
    Browse the repository at this point in the history
  6. Add MIGRATING.md

    cookpete committed Apr 25, 2020
    Configuration menu
    Copy the full SHA
    205d448 View commit details
    Browse the repository at this point in the history
  7. 2.0.0

    cookpete committed Apr 25, 2020
    Configuration menu
    Copy the full SHA
    70358a0 View commit details
    Browse the repository at this point in the history
Loading