Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

LostOne4Ever

(9,289 posts)
Sun Sep 7, 2014, 09:54 PM Sep 2014

Issue with youtube links

I am having an issue linking videos at a certain time. For instance,

https://www.youtube.com/watch?v=J711Qizp0JQ#t=796

when I try to link it, the time stamp is always cut off.

#t=796

Further I can not embed youtube videos without it doing this:

Further I can not
" target="_blank">embed linked youtube videos without it doing this:

Am I doing something wrong, or is this a known issue? Or a new issue altogether?

Here is a screenshot so you can see if I am making any mistakes:



Thanks for any help.
2 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
Issue with youtube links (Original Post) LostOne4Ever Sep 2014 OP
There are some issues with YouTube links, but there are fixes (well, almost). Make7 Sep 2014 #1
That worked perfectly! LostOne4Ever Sep 2014 #2

Make7

(8,543 posts)
1. There are some issues with YouTube links, but there are fixes (well, almost).
Mon Sep 8, 2014, 12:48 AM
Sep 2014

There is no way to embed a YouTube video here to start at a specific time (that I have found), but you can create a link for it that will work here. If you take the normal YouTube video link URL and insert the time parameter in the query portion of the address instead of as an anchor, the DU software won't embed the video - when someone clicks on the link the video should start at the specified time on YouTube's website. For example:

[div class="excerpt" style="display:inline-block; margin-left:0.5em; margin-right:2px; border:1px solid #bfbfbf; border-radius:0.4615em; box-shadow:-1px -1px 3px #bfbfbf inset;"][font style="color:#000099;"]https://www.youtube.com/watch?v=J711Qizp0JQ#t=796[/font]  (example copied URL from YouTube video)

[font style="color:#000099;"]https://www.youtube.com/watch?t=796&v=J711Qizp0JQ[/font]  (example URL rearranged to make link here)

Which should give us this:

  [div style="display:inline; word-wrap:break-word;"]https://www.youtube.com/watch?t=796&v=J711Qizp0JQ

You can also use minutes and seconds for the time value:

  [div style="display:inline; word-wrap:break-word;"]https://www.youtube.com/watch?t=13m16s&v=J711Qizp0JQ


The trick to make a YouTube URL work in a [link] tag here is to insert the time parameter with a zero for the value (or an actual value if desired):

[div class="excerpt" style="display:inline-block; margin-left:0.5em; margin-right:2px; border:1px solid #bfbfbf; border-radius:0.4615em; box-shadow:-1px -1px 3px #bfbfbf inset;"][font style="color:#000099;"]https://www.youtube.com/watch?v=mIQToVqDMb8[/font]  (example copied URL from YouTube video)

[font style="color:#000099;"][link:https://www.youtube.com/watch?t=0&v=mIQToVqDMb8|your text here][/font]  (example text link code)

Coping that [link] code into a post should result in this:

  your text here

[div style="width:100%; height:1.2em; border-bottom:1px solid #bbbbbb;"]
You're not doing anything wrong - you did what logically should work, but the embedding code here at DU3 does have some issues. When it embeds, it seems to only parse the actual video ID info and ignore everything else. And when it sees a YouTube URL in a &lsqb;link] tag, it still tries to embed the video in an <iframe> - which is why you end up with the [font style="color:#000099; text-decoration:underline;"]" target="_blank">embed linked youtube videos[/font] nonsense.

Latest Discussions»Help & Search»DU Community Help»Issue with youtube links