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

Jorrit’s picture

Status: Active » Closed (outdated)