Skip to content

Bug in volume option #1737

@aubreyz

Description

@aubreyz

Expected behaviour

Volume option should set initial volume, e.g
volume: 0.9,

Actual behaviour

Volume is not responsive at all to this option, either in video or audio, e.g in

Steps to reproduce

e.g in

const player = Plyr.setup('.js-playerv', {
volume: 1.0,
tooltips: { controls: true },
captions: { defaultActive: true }
});

However a direct change via API does work, e.g

player.volume = 0.75;

In fact pointed out previously in a somewhat obscure fashion, but not sure why nobody has noticed this before. #848

Environment

  • Browser:
  • Version:
  • Operating System:
  • Version:

Console errors (if any)

Link to where the bug is happening

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