Iframe is not working for www.example.com/my-account

I think that your web page is https (like: https://www.example.com/my-account) and the iframe was loaded via http. Try loading your web page in this way:

http://www.example.com/my-account

If the page is http, the iframe content must be http. That’s why, you have to remove “s” from “https.”