I use the iframe tag to embed the YouTube player instead of embedding the swf object directly. There is no problem viewing the contents during normal operation, however, specific contents are sometimes not played back. So I tried to check this specific content on the YouTube website on the PC. The same problem arose on the website, and I realized that the security mode is on, so it does not play. After I disabled the security mode on the website, it worked.
My question is: how do I turn security mode on / off manually in the built-in YouTube player?
source share