PlayerMedia( {required this.type, required this.resource, this.headers, this.initial, this.preload = false});