The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

YouTube embeds no longer playing embedded

LuvTheMonkeyLuvTheMonkey High Sierra SerenadeRegistered User regular
edited September 2015 in H.Q. Reception Desk
Tested on: Chrome 45.0.2454.85, Edge 20.10240.16384.0, Firefox Developer Edition 42.0a2 (2015-09-08)

Youtube embeds are now acting like a normal hotlink and going to that video's Youtube page instead of playing in the embedded player. Example:

https://www.youtube.com/watch?v=0vpVeJqx7gI

EDIT: Perhaps not? I am going to test again.

Molten variables hiss and roar. On my mind-forge, I hammer them into the greatsword Epistemology. Many are my foes this night.
STEAM | GW2: Thalys
LuvTheMonkey on

Posts

  • LuvTheMonkeyLuvTheMonkey High Sierra Serenade Registered User regular
    It seems to be entirely random at the moment, some YouTube links will play embedded and some will act as a hyperlink.

    Molten variables hiss and roar. On my mind-forge, I hammer them into the greatsword Epistemology. Many are my foes this night.
    STEAM | GW2: Thalys
  • DelmainDelmain Registered User regular
    This is happening to me too.

    Chrome Version 45.0.2454.85 m and Firefox 35.0.1 and 40.0.3 (I hadn't updated in a while)

  • IrukaIruka Registered User, Moderator Mod Emeritus
    Interesting. I'm trying to isolate this. @LuvTheMonkey let me know if you see a pattern?

  • EndEnd Registered User regular
    edited September 2015
    I take one look at it and now I'm confused how it ever works (actually, it seems to always fail for me, so maybe some people have a cached good copy or something?)
            var pattern = /^[\w-]+(\?autoplay\=1)(\&start=[\w-]+)?$/;
            if (!videoid.test(pattern)) {
                return false;
            }
    
    videoid is a string, and pattern is a RegExp. So, isn't that supposed to be !pattern.test(videoid)?

    However, that's just the error when I click the play button. Not sure if that's the same problem with the whole preview image or not, since I haven't tried digging into that.

    End on
    I wish that someway, somehow, that I could save every one of us
    zaleiria-by-lexxy-sig.jpg
  • BlankZoeBlankZoe Registered User regular
    edited September 2015
    I'm getting an issue where the YouTube preview images are now just images and when I click on them it opens them in a new tab

    Some still work but most of them are non functioning

    BlankZoe on
    CYpGAPn.png
  • SaraLunaSaraLuna Registered User regular
    I'm seeing the whole preview image, but clicking play does nothing.
    firefox 40.0.3 here

  • BahamutZEROBahamutZERO Registered User regular
    I'm getting the preview image that acts as a link to the youtube page instead of playing inside the current page when clicked, like Blank is

    BahamutZERO.gif
  • LuvTheMonkeyLuvTheMonkey High Sierra Serenade Registered User regular
    edited September 2015
    Iruka wrote: »
    Interesting. I'm trying to isolate this. LuvTheMonkey let me know if you see a pattern?

    No pattern as of yet, and Chrome's multitude of errors that pop when the Chromecast extension is not installed are making looking at the debug console hard. I will try FF Dev after I've slept and go from there.

    LuvTheMonkey on
    Molten variables hiss and roar. On my mind-forge, I hammer them into the greatsword Epistemology. Many are my foes this night.
    STEAM | GW2: Thalys
  • Grey GhostGrey Ghost Registered User regular
    Blankzilla wrote: »
    I'm getting an issue where the YouTube preview images are now just images and when I click on them it opens them in a new tab

    Some still work but most of them are non functioning

    I am getting this on Chrome on mobile, but desktop Chrome is still OK

  • GoatmonGoatmon Companion of Kess Registered User regular
    I'm having the same problem, chrome on windows 8.1

    Switch Friend Code: SW-6680-6709-4204


  • Rock Lobster!Rock Lobster! Registered User regular
    Went to go through the SE++ youtube thread to see if previously working ones weren't (and if there were any differences with links), and everything seems fixed now. Stuff that was sending me to youtube five minutes ago are playing embedded now.

    Edit: Scratch that. Two minutes later everything is linking to youtube again. Weird.

    Steam | BNet: Eits#1367
  • Grey GhostGrey Ghost Registered User regular
    I want to clarify in case we're talking about something else here

    When I click an embedded YouTube video on the mobile site the link only goes to a jpg of the preview image
    It doesn't even take me to YouTube itself

  • IrukaIruka Registered User, Moderator Mod Emeritus
    Should be working now.

  • DelmainDelmain Registered User regular
    Yep, seems to be working for me. I checked this thread and the one I originally saw the problem in and both videos seems to be working. I'll keep an eye out and update if I find anything that isn't working.

    I'm on desktop though, I don't know if the mobile issue that Grey Ghost is referring to was fixed.

  • DelmainDelmain Registered User regular
    Welp, I found two videos that don't work, though another one does

    http://forums.penny-arcade.com/discussion/200553/chat-son-pollock/p65

    the two apple videos (starting with the one with jeff goldblum) on page 65 don't work. they link to youtube instead of embedding

    http://forums.penny-arcade.com/discussion/200553/chat-son-pollock/p66

    the video on this page of a traffic cam embedded correctly when clicked on

    This happened in FF and Chrome, I checked both after I saw it happen

  • LuvTheMonkeyLuvTheMonkey High Sierra Serenade Registered User regular
    Delmain wrote: »
    Welp, I found two videos that don't work, though another one does

    http://forums.penny-arcade.com/discussion/200553/chat-son-pollock/p65

    the two apple videos (starting with the one with jeff goldblum) on page 65 don't work. they link to youtube instead of embedding

    http://forums.penny-arcade.com/discussion/200553/chat-son-pollock/p66

    the video on this page of a traffic cam embedded correctly when clicked on

    This happened in FF and Chrome, I checked both after I saw it happen

    Amazingly enough, the exact opposite happened for me. Both apple videos on page 65 there embedded properly, and the traffic cam video on page 66 linked instead of embedded.

    Molten variables hiss and roar. On my mind-forge, I hammer them into the greatsword Epistemology. Many are my foes this night.
    STEAM | GW2: Thalys
  • bowenbowen Sup? Registered User regular
    There's a difference in their link too

    One uses "https:// youtu.be /luFgV4nuSxc" (without the spaces obviously)

    The other uses the old style link of https:// youtube.com /v=luFgV4nuSxc or whatnot

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
  • LuvTheMonkeyLuvTheMonkey High Sierra Serenade Registered User regular
    Now that I'm home, everything I'm trying is working as embedded. To bowen's point, they are all showing in Chrome's inspector as the latter style.

    Molten variables hiss and roar. On my mind-forge, I hammer them into the greatsword Epistemology. Many are my foes this night.
    STEAM | GW2: Thalys
  • LuvTheMonkeyLuvTheMonkey High Sierra Serenade Registered User regular
    I have to recind my previous note, most all Youtube videos are working as links instead of embeds at the moment.

    Molten variables hiss and roar. On my mind-forge, I hammer them into the greatsword Epistemology. Many are my foes this night.
    STEAM | GW2: Thalys
  • LuvTheMonkeyLuvTheMonkey High Sierra Serenade Registered User regular
    I know multi posting is bad and all, but I found something in the console logs:
    Uncaught TypeError: videoid.test is not a function
    

    This shows up every time videos act as a link, it never shows up for videos that embed. Seems to reference global.js line 1231, and videoid gets defined a few before that at line 1223.

    Molten variables hiss and roar. On my mind-forge, I hammer them into the greatsword Epistemology. Many are my foes this night.
    STEAM | GW2: Thalys
  • InfidelInfidel Heretic Registered User regular
    edited September 2015
    Yep, I was just about to post that it should be reversed with "pattern.test(videoid)" or "videoid.match(pattern)" but it looks like that has just been fixed?

    e: the fix is in 2.2.100.8 but some pages still are referencing javascript version 2.2.100.7 so that's the erratic behaviour, should sort itself in time I would think

    Infidel on
    OrokosPA.png
  • bowenbowen Sup? Registered User regular
    Speaking of errors with it, anytime someone includes "t=" in the URL (selecting a start time) it just errors out on my end.

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
  • IrukaIruka Registered User, Moderator Mod Emeritus
    Could you guys link some examples, I cant reproduce anymore.

    You bros are clearing you cache out, yeah?

  • bowenbowen Sup? Registered User regular
    Yeah this has been happening forever but hasn't really bugged me, just thought I'd bring it up:

    http://forums.penny-arcade.com/discussion/comment/33382142/#Comment_33382142

    If I quote it and replace the t= part of the link, it works fine.

    Happening across a full reformat and a few workstations. Might be a chrome issue, since that's the only real common thing between them.

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
  • IrukaIruka Registered User, Moderator Mod Emeritus
    Hmm

    the format of that broken video is
    youtube.com/watch?t=1&v=lKUwVYUKii4
    

    but when I go to the video and link from the time, youtube gives me this:
    youtu.be/lKUwVYUKii4?t=25s
    
    which works:
    so how do you get a URL in that format, originally?

  • bowenbowen Sup? Registered User regular
    That's the link that comes from the non-html5 player when you "copy video at current time" AFAIK.

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
Sign In or Register to comment.