Skip to content

bug(youtube-player): since 9.2.2 version "ready" event isn't fired. #19408

Closed
@vanderkorn

Description

@vanderkorn

Reproduction

Since 9.2.2 version "ready" event isn't fired after rendering component

Also, I caught the error in the browser console:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('https://domain').

Expected Behavior

The "ready" event isn't' fired after rendering YouTubePlayer component

Have the error in the browser console " Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('https://domain')."

Actual Behavior

The "ready" event should be fired after rendering YouTubePlayer component

Don't have an error in the browser console " Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('https://domain')."

Environment

  • Angular: 9.1.4
  • CDK/Material: 9.2.2
  • Angular YouTubePlayer: ^9.2.2
  • Browser(s): all
  • Operating System (e.g. Windows, macOS, Ubuntu): all

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions