fixed undefined allowed_type in rtmedia featured and undefined object property of global $rtmedia