Skip to content

Binded volume parameter returning undefined #8006

@Layendan

Description

@Layendan

Describe the bug

When using bind:volume on video (did not test on audio track), it returns undefined instead of a number from 0-1.

Reproduction

REPL for reproduction based on media element bindings tutorial
REPL: https://svelte.dev/repl/d4acb0c4bf3e42efbc41d289f33ee359?version=3.52.0
^ Click on video and check console, you can keep clicking to see that it only returns undefined.
Tutorial: https://svelte.dev/tutorial/media-elements

Logs

No response

System Info

System:
    OS: macOS 13.0
    CPU: (8) arm64 Apple M1
    Memory: 687.88 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.0.0 - /usr/local/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 8.6.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 107.0.5304.110
    Safari: 16.1
  npmPackages:
    svelte: ^3.52.0 => 3.52.0

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions