Can I access the plyr API?

Created on 19 August 2024, 3 months ago
Updated 20 August 2024, 3 months ago

Problem/Motivation

I want to execute some methods from the plyr API, specifically play() and pause(). But I don't think I have access to the plyr instances that are created by the module. Is there any way to access those instances or do I need to think about a custom integration of plyr into my website?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Active

Component

Code

Created by

🇩🇪Germany bobjoe

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @bobjoe
  • 🇩🇪Germany IT-Cru Munich

    @bobjoe: I've checked it shortly and I think for this we need to refactor JS of Plyr module a little bit, that instances of players could be controlled via JS.

  • 🇩🇪Germany bobjoe

    @it-cru: It would be awesome if you could add this as an upcoming feature. I think that other people would appreciate this as well. I would love to help you adding this but I don't have enough programming knowledge myself to really be of assistance here.

Production build 0.71.5 2024