Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I think it will be a good thing to be able to use #attached
within theme('videojs')
function's parameters to be able to simple add javascript with field output
Today, in videojs.module
(l 211) we can see
...
'#attached' => videojs_add(false),
...
Why not mergin it (at least "attached" with theme function parameters ?
(ex : To load fitvids.js
and enable it while outpouting the field :))
Regards
Comments
Comment #1
Jorrit CreditAttribution: Jorrit as a volunteer commented