3

When I embed a YouTube video in the suggest manner (paste url) it adds this as an object. Is there a way to embed as IFRAME instead?

3

If you don't want to utilize the latest oembed functions and want the old iframe way from any page or post, you can do these:

  1. Get the embed code from any youtube video.
  2. While editing/creating your post/page, select the Text(HTML) mode of the editor
  3. Simply paste the embed code

    • As noted by PayteR, this will only work if you are an administrator or super admin user
  • 1
    but for this, user must be admin, or superadmin if it's on multisite, because WP it will remove any potential threats like <iframe> <script> etc... – PayteR Aug 2 '17 at 14:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.