Skip to content

Playback defaults in admin settings #12

@B-Interactive

Description

@B-Interactive

Currently playback options can be specified on a per-video basis. The code for this at the moment, is specific to shortcodes. The available options, with their current defaults are:

  • controls = true
  • autoplay = false
  • loop = false
  • preload = false
  • muted = false

I propose providing these controls in the admin settings with these aims:

  1. The user can specify and modify default playback options universally for all videos.
  2. Videos can still override these defaults on a per-video basis.
  3. Use of these defaults is no longer shortcode specific, but applies to blocks also.

This proposal is contingent on how blocks will be implemented, and whether they can dynamically access and optionally override these defaults.

The autoplay/muted options have the caveat that when autoplay is enabled, browsers will tend to force mute the video. Browsers such as Chrome will apparently adapt based on user behaviour, so it's not a definite rule, but it should be expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions