Hi Johann,
Working with Backbone (which is used to make everything with the media library) in WordPress is a pain. There's no documentation at all in the Codex. There are very few articles about it 🙁
You can read the source code of Meta Box to understand how to word with wp.media.view
. This is another great tutorial to start working with Backbone view.
However, in the WordPress environment, there's no official solution to inject fields into the Media Details Popup for now. This is how we use wp.media
to open the Media details popup when clicking the edit link. The technique is discovered by funkedgeek on Github.
I see Jetpack adds some config for Tiled Gallery in the Media popup, which might be a good example how to hack it.