As was foretold, we've added advertisements to the forums! If you have questions, or if you encounter any bugs, please visit this thread: https://forums.penny-arcade.com/discussion/240191/forum-advertisement-faq-and-reports-thread/

youtube embedding with a timestamp not working as expected

At some point we started being able to embed youtube links with timestamps, but they don't seem to direct the video to start at the right time. I'm not sure what the rhyme or reason to where it does start is.
For example this link should be pointing at 15:42 but ends up starting at 5:02.

https://youtu.be/dCHyAvHRKJU?t=15m42s

BahamutZERO.gif

Posts

  • OrphaneOrphane rivers of red that run to seaRegistered User regular
    edited November 2015
    whooops definitely wrong thread/place, disregard this please

    Orphane on
  • IcyLiquidIcyLiquid Two Steaks Montreal, QuebecAdministrator, Vanilla Staff vanilla
    You're right though, sometimes dream are fuckall crazy.

  • RiusRius Globex CEO Nobody ever says ItalyRegistered User regular
    I'm seeing this behavior too now. Tried to timestamp a video to 29 seconds, it starts at 0:00 instead.

  • GvzbgulGvzbgul Registered User regular
    I just had a video time stamped for 1:50 start at 1 min. I got the url by doing the share thing on youtube.
    https://youtu.be/pUbXyd-fK8Q?t=1m50s
    https://youtu.be/pUbXyd-fK8Q?t=1m50s

  • GoatmonGoatmon Companion of Kess Registered User regular
    edited December 2015
    The timestamp code only works for the single minute and second for some reason

    It ignores the teens for both minutes and seconds.

    So a video timestamped for 17 minutes 58 seconds and one timestamped 27 minutes and 18 seconds will both start at 7 minutes 8 seconds.

    Goatmon on
    Switch Friend Code: SW-6680-6709-4204


  • FawstFawst The road to awe.Registered User regular
    I'm not sure this isn't a YouTube issue. I had the same problem the other day, but I was using only single digits for minute and second, but the URL wasn't working even on its own, let alone embedded here. And it was the right format. *shrug*

  • MuffinatronMuffinatron Registered User regular
    edited December 2015
    [snip]

    Think I might have figured out what was going wrong, but I needed to post to check, preview wasn't working.


    I figured out what's going wrong. When the forums parses the youtube URL to embed the video, it's only retrieving the last number before the unit type for the timestamp.

    For example, in @BahamutZERO 's video the timestamp is 15 minutes and 42 seconds, or 15m42s. It's only parsing the digits immediately preceding the m and s (15m42s), giving a timestamp of 5 minutes and 2 seconds.

    Same with @Gvzbgul 's video. The timestamp is put in as 1m50s, but is only being read as 1m0s.

    Easy way to demonstrate this is to use Gvzbgul's video and change the timestamp to 1m52s, which now is being read at 1m2s:
    https://youtu.be/pUbXyd-fK8Q?t=1m52s


    edit; Realised Goatmon beat me to it. I really need to read through the entire thread before I post. D'oh. Pretty sure this is a forum issue though, there's a conversion going on from minutes to seconds for the embedding tags in the HTML source.

    Muffinatron on
    PSN: Holy-Promethium
Sign In or Register to comment.