Skip to content

Controlling YouTube video playback is broken #1015

Description

@dematerializer

Current Behavior

Controlling YouTube video playback is broken.

Expected Behavior

YouTube video playback should be controllable.

Steps to Reproduce

  1. go to https://cookpete.com/react-player/ using Google Chrome 85.0.4183.102
  2. select YouTube Test A
  3. notice video starting automatic playback
  4. click on Pause does not pause the video (no console output)
  5. click on Play again gives console output "ReactPlayer: YouTube player could not call playVideo – The method was not available"
  6. changing the volume gives console output "ReactPlayer: YouTube player could not call setVolume – The method was not available"

Environment

  • URL attempting to play: builtin YouTube Test A video URL
  • Browser: Google Chrome 85.0.4183.102
  • Operating system: Mac OS X 10.14.5
  • jsFiddle example: not needed

Other Information

  • /

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions