Skip to main content

View Diary: Embedded videos playing automatically at DKos? Let's look at that (58 comments)

Comment Preferences

  •  thanks wader... (8+ / 0-)

    ...awhile back I had trouble embedding youtube videos here. One of our users suggested adding "http//:" to the embed code. Never had that pesky prob again.

    "I wish to have no connection with any ship that does not sail fast, for I intend to go in harm's way." John Paul Jones

    by ImpeachKingBushII on Sun Jul 21, 2013 at 09:59:27 PM PDT

    •  That's the correct, if inconvenient, fix (7+ / 0-)

      for YouTube video embeds.

      For some reason, their code generator omits that URL protocol prefix.

      "So, please stay where you are. Don't move and don't panic. Don't take off your shoes! Jobs is on the way."

      by wader on Sun Jul 21, 2013 at 10:17:26 PM PDT

      [ Parent ]

      •  Perhaps whatever browser they were testing it (2+ / 0-)
        Recommended by:
        wader, ImpeachKingBushII

        in doesn't need the http:// prefix?  I know with at least one browser you don't even need the .com at the end which means the URL "google/intl/en/about.html" and it will work just fine without the http://www. at the start or the .com at the end.

        You have watched Faux News, now lose 2d10 SAN.

        by Throw The Bums Out on Mon Jul 22, 2013 at 07:54:02 AM PDT

        [ Parent ]

      •  the reason for omitting it is SSL connections (1+ / 0-)
        Recommended by:
        RiveroftheWest

        Now that more and more sites are using SSL all the time, if you have embedded content with http links, they warn and alarm "INSECURE CONTENT" (like freaking morons IMHO :-) ) and make everyone unhappy. The src=// fixes that.

        The problem for us is that we didn't allow that in user text.

        We fixed it for the case of no query string links, but for links with query strings, it's going to be a bit messier. So the embeds work fine if you do a normal one, but if you add any parameters you have to add in the http for now.

        Fry, don't be a hero! It's not covered by our health plan!

        by elfling on Thu Jul 25, 2013 at 01:44:15 PM PDT

        [ Parent ]

Subscribe or Donate to support Daily Kos.

Click here for the mobile view of the site