In general, you cannot directly obtain the source code of an embedded iframe URL if you do not have access to the server hosting the content inside the iframe. The iframe typically loads content from another website or server, and the source code for that content is controlled by the owner of that server.
However, if the content inside the iframe is hosted on a public website and the website allows for cross-origin framing (CORS), you may be able to inspect the source code of the embedded content using browser developer tools. Keep in mind that attempting to access or manipulate content in a way that violates the website’s terms of service or legal restrictions is not ethical and may be illegal.
If you are the owner of the content or have permission from the owner, you should be able to obtain the source code directly or through proper channels.
Always respect the legal and ethical considerations when dealing with web content and ensure you have the right to access and use the source code in question.
Your solution would be to go the CUSTOM-WAY → like in 99% of all use-cases…