The reason why BBC iPlayer doesn't work in your country is due to licensing rights and agreements. If you're based outside of the UK, then your access to BBC iPlayer will be blocked since the service is only available for UK residents who pay a TV license fee to the corporation.
This may be annoying for some UK residents who have purchased a TV license in the UK and are traveling abroad. However, BBC iPlayer will detect your IP address when you try to access the platform, and this IP reveals your actual location. Any location that isn't UK-based will be completely blocked.