1
0

Request for bug fix: Posting embeded YouTube links.


               
2015 Mar 24, 5:34pm   6,217 views  31 comments

by Dan8267   follow (4)  

Currently if you post a message or a thread that contains a YouTube link, the link is removed. You have to edit the post and re-add the link. The code that handles editing posts works, but the code that handles the initial post removes all YouTube links.

Comments 1 - 31 of 31        Search these comments

1   Dan8267   2015 Mar 24, 6:16pm  

Geeze, what a surprise. Instead of having the maturity to acknowledge that people want to embed videos on this site, dumb ass here posts a lame insult that has nothing to do with the thread. And dumb ass, YouTube isn't a source any more than the Internet is a source. YouTube is a file hosting site specifically for videos. Ridiculing a video because its hosted on YouTube is as asinine as ridiculing the content because the bits were delivered over HTTP. You just look like an ignorant ass when you do shit like that.

2   MAGA   2015 Mar 24, 7:04pm  

I noticed the same issue. I miss being able to embed YouTube videos.

3   Dan8267   2015 Mar 24, 10:34pm  

You still can. You just have to copy your original post, edit it, and paste in the original text. The code that updates the post doesn't remove the link.

It's just an annoyance.

4   curious2   2015 Mar 24, 11:20pm  

Dan8267 says

You just have to copy your original post, edit it, and paste in the original text.

I haven't been able to get that method to work either. It might vary with browser and script settings.

5   Y   2015 Mar 25, 6:35am  

this method works with google chrome...

curious2 says

I haven't been able to get that method to work either. It might vary with browser and script settings.

7   Patrick   2015 Mar 25, 7:34am  

ok, i think it works now as long as you put in https instead of http for the link, and use the "/watch" format of the url, like this but without the space.

https://www.youtube.com/watch ?v=qpl5mOAXNl4

8   Dan8267   2015 Mar 25, 7:53am  

Test

9   Dan8267   2015 Mar 25, 7:55am  


ok, i think it works now as long as you put in https instead of http for the link, and use the "/watch" format of the url, like this but without the space.

Not quite. The following URL minus the space produced the following post:
https : //www.youtube.com/watch?v=BSLPH9d-jsI

<p>Test</p>
<p><iframe></iframe></p>

10   Patrick   2015 Mar 25, 7:57am  

ah, the freakin dash in the id

i'll get to it, but on my way to work at the moment

11   Dan8267   2015 Mar 25, 9:11am  

Enough trolling by CIC. You don't get to derail this thread. Unlike you, this thread is important.

12   zzyzzx   2015 Mar 25, 11:45am  

You have to take out the s in https for it to post right here.

13   Dan8267   2015 Mar 25, 2:16pm  

Test without SSL.

14   Dan8267   2015 Mar 25, 2:17pm  

zzyzzx says

You have to take out the s in https for it to post right here.

Nope, that doesn't work either for (http omitted) www.youtube.com/watch?v=BSLPH9d-jsI

15   Shaman   2015 Mar 25, 2:23pm  

How about fixing the "quote" function for OS devices?

16   Dan8267   2015 Mar 25, 9:05pm  

While we're at this, Patrick can we have a function to ban trolls from threads when they repost something that's been deleted?

17   zzyzzx   2015 Mar 26, 6:39am  

Dan8267 says

zzyzzx says

You have to take out the s in https for it to post right here.

Nope, that doesn't work either for (http omitted) www.youtube.com/watch?v=BSLPH9d-jsI

It used to work, until around yesterday. Seriously. I think on of Patricks' fixes might have broke the code.

19   Patrick   2015 Mar 26, 6:43pm  

ok, seems to work now. let me know if not.

22   Dan8267   2015 Mar 26, 7:51pm  

ok as long as you use the s in https.

23   Patrick   2015 Mar 26, 10:04pm  

Dan8267 says

ok as long as you use the s in https.

yes, but youtube wants you to now anyway.

25   Y   2015 Mar 27, 6:31am  

ok...it works now...

https://www.Vs1e2PPqTOE

27   zzyzzx   2015 Mar 27, 8:27am  

Works, even with the https, but without its:
http://www.youtube.com/watch?v=BRjACdp_Yjc

I wonder if it means that all the old links are now broken?

If the old links are good than working with the https is preferable.

28   Dan8267   2015 Mar 27, 10:10am  

zzyzzx says

Works, even with the https, but without its:

http://www.youtube.com/watch?v=BRjACdp_Yjc

You have an underscore, not a dash. It seems that Patrick is using regular expressions to detect YouTube links and any link with both "http:" and a dash fails to match his set of regular expressions.

I think the following regex works on all the video URLs posted in this thread.
/^(?:https?:\/\/)?(?:www\.)?youtu(?:\.be|be\.com)\/(?:watch\?v=)?([\w-]{10,})/

30   MAGA   2015 Mar 28, 8:02pm  

https://www.yOHGr8r5Cs4

From "Kovacs Corner" on YouTube.com] - William Claude Dukenfield, known professionally as W.C. Fields, with his bizarre and iconoclastic sense of humor, certainly influenced Ernie Kovacs. It had been written that when Fields delivered the story outline of this 1941 film, "Never Give a Sucker an Even Break", the suits at Universal Studios thought the film was so surreal that they recut and reshot parts of it. After which they quietly released the film to movie theaters and Fields from his contract. This sketch, featuring character actress Jody Gilbert, gives a new meaning to the term "customer service".

Please register to comment:

api   best comments   contact   latest images   memes   one year ago   users   suggestions   gaiste