The Flash Player was deprecated in 2017 and officially discontinued on 31 December 2020, so media_swf player has been completely removed from Moodle core.