Skip to content

Custom configuration general hotkey customizability #681

@Heck-R

Description

@Heck-R
  1. Problem Description
    In the Custom configuration, general customConfiguration hotkeys are not provided with the same possibilities as the site-specific customTaskControlCenter shortcuts, namely the arguments: h5Player, taskConf, data.

  2. URL where the above issue occurs
    The described issue is more of a missing general feature, it's not site-specific

  3. The browser and browser version information you are using
    The described issue is more of a missing general feature, it's not browser-specific

  4. Other additional information
    Example implementation: feat: Pass general data to custom hotkey configs #540

This would allow for doing stuff like the following in custom configs:

{
...
    {
      desc: 'Custom action',
      key: 'arrowdown',
      command: (h5Player, taskConf, data) => {...}
    },
...
}

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