In my new module I am writing, I am creating a new content type. In this new content type, I want to attach custom fields for a media player: the media player from MediaFront and a File field with a Media File Selector widget type.
As I understand it, these fields are already defined; I just need to create an instance of each field. How do I create an instance of each field, and then configure the extra parameters?
I haven't come across any good tutorials on how to do this.