So you're displaying it in an iFrame? You're running into a security error because of the origin of the iFrame either does not allow it to be embedded on other domains or your site doesn't allow it based off your Apache configuration.
If it's working on your live site then I wouldn't worry about it too much... it likely has to do with the pathing of your dev site
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT