The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Content & Blogging
    4. Posting youtube videos on your site-use irframe or "old embed code"

    Posting youtube videos on your site-use irframe or "old embed code"

    Content & Blogging
    7 4 1.8k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MarieHaynes
      MarieHaynes last edited by

      If you choose "embed" now, youtube gives you the choice of using an iframe:

      <iframe width="430" height="352" src="http://www.youtube.com/embed/0-nKXALtHWs?rel=0" frameborder="0" allowfullscreen=""></iframe>

      or, the old embed code:

      <object width="430" height="352"><param name="movie" value="http://www.youtube.com/v/0-nKXALtHWs?version=3&amp;hl=en_US&amp;rel=0"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/0-nKXALtHWs?version=3&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" width="430" height="352" allowscriptaccess="always" allowfullscreen="true"></object>

      Is either better when it comes to seo?

      1 Reply Last reply Reply Quote 0
      • kylesuss
        kylesuss last edited by

        I would imagine that it doesn't really make a difference. There is no textual content for the bots to read (unless you write out the transcript for the video) so theoretically, each of these would return the same SEO result.

        1 Reply Last reply Reply Quote 0
        • gfiorelli1
          gfiorelli1 last edited by

          Depends... if your blog/site has a big volume of visit from mobile, the iframe is surely the best option, because - if I am not wrong - that way you are sure that users will actually see the video in their mobile device.

          But, if I've to choose, I would choose the old embed code until it is available. The reason? This awesome trick explained in this old post by Paddy Moogan in the Distilled blog: Getting Links and SEO Value from your YouTube Video; a trick that needs the old embed code to work.

          Finally, whatever you choose, don't forget to create the video sitemaps.

          MarieHaynes 1 Reply Last reply Reply Quote 3
          • MarieHaynes
            MarieHaynes @gfiorelli1 last edited by

            Gianluca, that is an incredible find!  That article is talking about adding a link back to your youtube channel when people choose to embed the code from your site.  But, what if you gave your viewers embed code that contained a link saying, "Video shared by www.yourwebsite.com"? with a link back to your site???

            gfiorelli1 MarieHaynes 2 Replies Last reply Reply Quote 0
            • Trupanion
              Trupanion last edited by

              I would also check out www.wistia.com where you can also track stats for the video.

              1 Reply Last reply Reply Quote 0
              • gfiorelli1
                gfiorelli1 @MarieHaynes last edited by

                Perfectly possible. YouTube is a service where you host your videos, but the main "screen" is your site, so it is also "ethically" permitted (if you value the ethic in links).

                In the case of a video which is not yours... you can configure the code to show two links: to the author youtube page and to your site.

                1 Reply Last reply Reply Quote 0
                • MarieHaynes
                  MarieHaynes @MarieHaynes last edited by

                  This is really exciting!  I've configured the code to put a line after the video that says, "Want this video on your website? Here's the code:" and then if they use the code intact it will show the video with a line underneath that says, "Courtesy of mywebsite."

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  • Is it okay to delete old blog posts?
                    74andsunny
                    74andsunny
                    0
                    7
                    580

                  • What are the effects of posting on a blog site using copied content from your site if you source the site on the blog site?
                    CommT
                    CommT
                    0
                    3
                    102

                  • Could posting on YouMoz get you penalized for "Guest Blogging?"
                    KeriMorgret
                    KeriMorgret
                    4
                    16
                    481

                  • Rel="noindex in a guest post
                    TomRayner
                    TomRayner
                    0
                    4
                    644

                  • How to fight against a site always "re-write" your content?
                    Chris.Menke
                    Chris.Menke
                    0
                    6
                    125

                  • Using syndicated content / videos
                    loopyal
                    loopyal
                    0
                    2
                    174

                  • Google still caching old site
                    oznappies
                    oznappies
                    0
                    4
                    687

                  • Video Hosting Service or YouTube?
                    KeriMorgret
                    KeriMorgret
                    0
                    9
                    1.8k

                  Get started with Moz Pro!

                  Unlock the power of advanced SEO tools and data-driven insights.

                  Start my free trial
                  Products
                  • Moz Pro
                  • Moz Local
                  • Moz API
                  • Moz Data
                  • STAT
                  • Product Updates
                  Moz Solutions
                  • SMB Solutions
                  • Agency Solutions
                  • Enterprise Solutions
                  • Digital Marketers
                  Free SEO Tools
                  • Domain Authority Checker
                  • Link Explorer
                  • Keyword Explorer
                  • Competitive Research
                  • Brand Authority Checker
                  • Local Citation Checker
                  • MozBar Extension
                  • MozCast
                  Resources
                  • Blog
                  • SEO Learning Center
                  • Help Hub
                  • Beginner's Guide to SEO
                  • How-to Guides
                  • Moz Academy
                  • API Docs
                  About Moz
                  • About
                  • Team
                  • Careers
                  • Contact
                  Why Moz
                  • Case Studies
                  • Testimonials
                  Get Involved
                  • Become an Affiliate
                  • MozCon
                  • Webinars
                  • Practical Marketer Series
                  • MozPod
                  Connect with us

                  Contact the Help team

                  Join our newsletter
                  Moz logo
                  © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                  • Accessibility
                  • Terms of Use
                  • Privacy