iSONEWS

General => Website Feedback => Topic started by: Shwaggy on June 27, 2012, 04:47:46 PM

Title: YouTube embedding
Post by: Shwaggy on June 27, 2012, 04:47:46 PM
RJD2 - Smoke & Mirrors (http://www.youtube.com/watch?v=KfZxJV1ykHs#)
Title: Re: YouTube embedding
Post by: Shwaggy on June 27, 2012, 04:48:49 PM
You simply post the link. Let me know if there are permissions issues.

Also, if these become an issue or an annoyance, it will be limited or removed.
Title: Re: YouTube embedding
Post by: Waven on June 27, 2012, 06:11:49 PM
Thanks!
Title: Re: YouTube embedding
Post by: Dr_Grinch on June 27, 2012, 07:08:40 PM
Look at you and your fancy embedding.


edit: looks like it's broken for normal users - http://www.theisonews.com/forums/index.php/topic,108708.msg2473235.html#msg2473235 (http://www.theisonews.com/forums/index.php/topic,108708.msg2473235.html#msg2473235)

Some sort of limit reached error?
Did you specify a number of videos they could embed per day or some such?
Title: Re: YouTube embedding
Post by: Shwaggy on June 27, 2012, 08:24:54 PM
There's a limit per thread to (I guess) limit abuse. In threads like that it could be an issue. I'll look around for the setting.
Title: Re: YouTube embedding
Post by: Shwaggy on June 27, 2012, 08:30:18 PM
I set the limit per "page" (not thread) at 50. I set the limit per individual post at 3.
Title: Re: YouTube embedding
Post by: ViRuS_PW on June 27, 2012, 08:53:47 PM
nice!! thanks :)
Title: Re: YouTube embedding
Post by: Waven on June 27, 2012, 10:27:14 PM
The reasons for the limits is probably because a page with too many videos will crash the browser. 50 is maybe a bit much for low-end machines? on the other hand I don't really see it becoming a problem..
Title: Re: YouTube embedding
Post by: acme420 on June 27, 2012, 11:17:21 PM
i already gave you the solution to make it not abused able. hidden by default and you have to click on a spoiler type tag to show it...but whatever nigger. 

ill wait for someone else to quote what i wrote before you implement it.
Title: Re: YouTube embedding
Post by: Shwaggy on June 28, 2012, 01:31:31 AM
The addon I did doesn't have that as an option. I'm sure I could modify it, which I will if it becomes something that is wanted.
Title: Re: YouTube embedding
Post by: stocker on June 28, 2012, 03:05:29 AM
And how would I go about posting just the url? There should be [youtube][/youtube] tags so you could choose when to embed or not. Currently it seems I'd have to post the url in the quote.
Title: Re: YouTube embedding
Post by: Shwaggy on June 28, 2012, 03:11:33 AM
remove the http://?
Title: Re: YouTube embedding
Post by: stocker on June 28, 2012, 03:17:01 AM
remove the http://?
That still leaves the embedded video only now there's also a link under it. If you meant also to remove the www part then I'd want the link to be clickable.
Title: Re: YouTube embedding
Post by: venom4911 on June 28, 2012, 03:56:07 AM
dont put the www and just use [url]?
Title: Re: YouTube embedding
Post by: stocker on June 28, 2012, 04:01:11 AM
dont put the www and just use [url]?

Already tried, that also embeds the video.
Title: Re: YouTube embedding
Post by: venom4911 on June 28, 2012, 04:18:21 AM
kill yourself?
Title: Re: YouTube embedding
Post by: acme420 on June 28, 2012, 06:59:50 AM
just paste the link to the video noobs it's automatic.
Title: Re: YouTube embedding
Post by: Shwaggy on June 28, 2012, 01:32:04 PM
Jesus acme, that's what they're complaining about ... that it is automatic.

Can I ask though, why would you want to post a YouTube link without it being embedded? I honestly am curious.
Title: Re: YouTube embedding
Post by: Delta3000 on June 28, 2012, 03:22:35 PM
Cos he wants to rickroll our asses like its 2005.
Title: Re: YouTube embedding
Post by: stocker on June 28, 2012, 05:52:39 PM
Can I ask though, why would you want to post a YouTube link without it being embedded? I honestly am curious.

You want to link to specific time with &t=xxmxxs, you want to make sure it's watched in HD with &hd=1, you post the video part of a longer post and you don't want the text being broken up by it and so on. This overly aggressive emedding is just a bad design in my opinion.

Now as a separate suggestion for the videos that do get embedded would it be possible that #ws would be added automatically at the end of the url? That makes the embedded window widescreen i.e. the same size it's on the youtube homepage. The default 4:3 box looks annoying to me.
Title: Re: YouTube embedding
Post by: Shwaggy on June 28, 2012, 06:11:42 PM
Now you're getting picky, I'll look into ways to hide the embedding.
Title: Re: YouTube embedding
Post by: Phero on June 28, 2012, 10:56:04 PM
I LOVE YOU SHWAGGY!
Title: Re: YouTube embedding
Post by: Shwaggy on June 29, 2012, 04:01:16 PM
So, if you post a link in a sentence like, Rick Astley - Never Gonna Give You Up (http://www.youtube.com/watch?v=dQw4w9WgXcQ#) whoa. You don't get embedding.

Rick Astley - Never Gonna Give You Up (http://www.youtube.com/watch?v=dQw4w9WgXcQ#)

Embedding only works if the link is in a separate line by itself.
Title: Re: YouTube embedding
Post by: Shwaggy on June 29, 2012, 04:03:34 PM
Also, I set it to use HD where available. So if the video has an HD version it will try to choose that.
Title: Re: YouTube embedding
Post by: sabbath on June 29, 2012, 04:26:14 PM
Nice. Let me test:

Watch this: http://youtu.be/QTTW8M_etko (http://youtu.be/QTTW8M_etko)

http://youtu.be/QTTW8M_etko (http://youtu.be/QTTW8M_etko)

If I put a yoube video in the middle of a setence like this, http://youtu.be/QTTW8M_etko, (http://youtu.be/QTTW8M_etko,) it will be converted to a link, right?
Title: Re: YouTube embedding
Post by: stocker on June 29, 2012, 04:56:53 PM
edit: Nevermind, seems #ws is added now automatically?

(( Secret World )) 4k Footage (http://www.youtube.com/watch?v=rdQ0i3v_KVY#ws)
Title: Re: YouTube embedding
Post by: Uncle_Mart on June 30, 2012, 02:15:48 PM
There's an option on youtube that will make it automatically play HD. Requires a youtube account and cookies enabled I think though.