Skip to content

help(YouTube): Enable casting to devices PlayerVars enablecastapi #19954

@austenstone

Description

@austenstone

Ability to enable casting on the YouTube iframe.

I found this flag enablecastapi in a Reddit post

What are you trying to do?

Cast my youtube videos to chromecast, roku, and other devices.

What troubleshooting steps have you tried?

node_modules/@types/youtube/index.d.ts

Does not contain the variable enablecastapi

Reproduction

Not sure how I would pass this to the player.

This pr has the ability to pass params [#19746]. But type doesn't give ability to cast.

Environment

  • Angular:
    @angular/cli 10.0.2
  • CDK/Material:
    @angular/material 10.0.1
    @angular/cdk 10.0.1
    @angular/youtube-player 10.0.1
  • Browser(s):
    Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu):
    Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageThis issue needs to be triaged by the teamtroubleshootingThis issue is not reporting an issue, but just asking for help

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions