Skip to content

Youtube video: change autoplay using radioButton  #62

@lazaro92

Description

@lazaro92

Hi,
I see that I can enable Youtube's video autoplay in youtube.js from videogular-youtube pluggin:

playerVars = {
         'controls': 0,
         'showinfo': 0,
         'rel': 0,
         'autoplay': 0, //Switch autoplay to 1 to autoplay videos
         'start': 0
  };

My problem is that I have two radioButtons for enable or disable autoplay. How can I make that, when I select enable autoplay, change the property to autoplay the video?

P.D. Sorry for my English.

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