Derek
|
|
« on: December 17, 2015, 02:23:19 PM » |
|
Praise be to Matthew Wegner.
Should work with Vimeo and Twitch, also. Just type in the URL and it will automatically embed. The embedded video won't show up in the preview, though.
|
|
|
Logged
|
|
|
|
Canned Turkey
Guest
|
|
« Reply #1 on: December 17, 2015, 02:31:19 PM » |
|
SHIT YES
PRAISE BE MATTHEW PRAISE BE DEREK PRAISE BE PRAISE BE
|
|
|
Logged
|
|
|
|
Matthew
|
|
« Reply #2 on: December 17, 2015, 02:35:33 PM » |
|
I forced line breaks before and after the embed, too, just so it doesn't totally mangle previous posts.
Suppose it could be worth preserving the clickable original links, and not rely on the embedded player to link to the source content...
|
|
|
Logged
|
|
|
|
Schoq
|
|
« Reply #3 on: December 17, 2015, 03:56:52 PM » |
|
neat what if you want to just have a link though? http://youtube.com/watch?v=w2YO3qtYLq0oh ok
|
|
« Last Edit: December 17, 2015, 06:16:20 PM by Schoq »
|
Logged
|
♡ ♥ make games, not money ♥ ♡
|
|
|
s0
|
|
« Reply #4 on: December 17, 2015, 04:30:23 PM » |
|
|
|
|
Logged
|
|
|
|
Alevice
|
|
« Reply #5 on: December 17, 2015, 06:03:12 PM » |
|
this is soo fantastic! wahoo!
|
|
|
Logged
|
|
|
|
Schoq
|
|
« Reply #6 on: December 17, 2015, 06:32:37 PM » |
|
as noted though Certain Threads are basically unviewable now (taking minutes to load)
|
|
|
Logged
|
♡ ♥ make games, not money ♥ ♡
|
|
|
alvarop
|
|
« Reply #7 on: December 17, 2015, 07:28:03 PM » |
|
Tig has entered the modern age.
|
|
|
Logged
|
|
|
|
ProgramGamer
|
|
« Reply #8 on: December 17, 2015, 08:58:52 PM » |
|
does this work for signatures?
|
|
|
Logged
|
|
|
|
b∀ kkusa
|
|
« Reply #9 on: December 17, 2015, 09:40:22 PM » |
|
|
|
|
Logged
|
|
|
|
Türbo Bröther
|
|
« Reply #10 on: December 17, 2015, 10:26:11 PM » |
|
as noted though Certain Threads are basically unviewable now (taking minutes to load)
There should be a limit imposed on the amount of video links you're allowed to have in a post. Preferably one but two or three would be acceptable.
|
|
|
Logged
|
|
|
|
Schoq
|
|
« Reply #11 on: December 18, 2015, 07:12:39 AM » |
|
Just having it not be automatic would go a long way, giving people a chance to be sensible about it.
|
|
|
Logged
|
♡ ♥ make games, not money ♥ ♡
|
|
|
Matthew
|
|
« Reply #12 on: December 18, 2015, 09:11:34 AM » |
|
as noted though Certain Threads are basically unviewable now (taking minutes to load)
Which threads take minutes to load? The YouTube thread loads okay here (2MB content transferred with cache disabled, and that's kind of the worst-case scenario). I limited the replacements to two per post just to prevent something from going too crazy.
|
|
|
Logged
|
|
|
|
|
Schoq
|
|
« Reply #14 on: December 18, 2015, 01:20:00 PM » |
|
The auto embed also overwrites text that links to a youtube video, which is a real problem for older posts. If I write a sentence with [url=https://www.youtube.com/watch?v=XIMLoLxmTDw]a youtube url[/url] in it, the text is removed and replaced with the video If I write a sentence with in it, the text is removed and replaced with the video
|
|
|
Logged
|
♡ ♥ make games, not money ♥ ♡
|
|
|
Dragonmaw
Guest
|
|
« Reply #15 on: December 18, 2015, 02:40:52 PM » |
|
could we change it from auto-embed to only embedding videos that have the [video] or [youtube] tag around them? that's what most forums do
|
|
|
Logged
|
|
|
|
Matthew
|
|
« Reply #16 on: December 19, 2015, 11:59:30 AM » |
|
Yeah, probably makes sense to use a tag given the various corner cases.
I'll see about getting the other package put in some point soon...
|
|
|
Logged
|
|
|
|
Schoq
|
|
« Reply #17 on: January 23, 2016, 05:53:11 AM » |
|
Yeah, probably makes sense to use a tag given the various corner cases.
I'll see about getting the other package put in some point soon...
cool
|
|
|
Logged
|
♡ ♥ make games, not money ♥ ♡
|
|
|
Xonatron
|
|
« Reply #18 on: February 22, 2016, 08:35:30 AM » |
|
Does it only work with post, not preview?
EDIT: Yes, it only works with post, not preview. That was my problem.
|
|
|
Logged
|
|
|
|
Schoq
|
|
« Reply #19 on: February 22, 2016, 08:47:06 AM » |
|
should probably make it a tag asap because a ton of old posts are broken because of this change *does the admin summoning dance*
|
|
|
Logged
|
♡ ♥ make games, not money ♥ ♡
|
|
|
|