3rd party cookies can be assumed to be always blocked, no need to detect anything.
Assuming these iframes will never work means degrading the experience for all users, when only users on Safari are actually affected. Detecting the UA and branching based on that is a much more pragmatic solution.