Modify detect to return default media flags

This should control the default values for things like autoplay, loop, etc.