VideoPress block always renders scripts, doesn't use wp_enqueue_* #35926
Open
Description
opened on Feb 24, 2024
Impacted plugin
VideoPress
Quick summary
As it states, if you insert multiple VideoPress blocks you will end up trying to load the iframe JS API script every time.
It should be enqueued.
Steps to reproduce
Insert VideoPress block twice.
A clear and concise description of what you expected to happen.
Should enqueue the script properly and only load it once.
What actually happened
It loads under every iframe
Impact
Some (< 50%)
Available workarounds?
No but the platform is still usable
Platform (Simple and/or Atomic)
No response
Logs or notes
No response
Metadata
Assignees
Labels
Type
Projects
Status
Triaged
Activity