Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow plugins to receive the data context of DOM areas #308

Open
oliverfoster opened this issue Feb 28, 2023 · 0 comments
Open

Allow plugins to receive the data context of DOM areas #308

oliverfoster opened this issue Feb 28, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@oliverfoster
Copy link
Member

adapt-graphicLottie and adapt-graphicVideo allow any graphics to be replaced with svg animations and videos. They do this by listening for dom changes where img tags are injected, specifically img tags with bespoke file extensions, and the extensions replace those img tags with a relevant player. Sometimes it is necessary to configure those players locally on the _graphic object, such as for instance specific looping and controls.

It would therefore be nice to know to which _graphic object the img tag belongs in the course data.

@oliverfoster oliverfoster added the enhancement New feature or request label Feb 28, 2023
@oliverfoster oliverfoster self-assigned this Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant