Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: February 12, 2025, 2:38 pm

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New "Auto Media" Feature
#1
New "Auto Media" Feature
Ok, so this was a long suggested feature by a few members, and I found a plugin that seems to work nicely. In the past you had to take a video url, take the ID of the video out of it, put it between the correct tags (as here: http://atheistforums.org/thread-406.html), and then you'd have an embedded video in your post. Well we always want to make things easier for you, so the new plugin tries to automatically detect urls to video sites, and then embeds to video for you.

For instance, in the past if I wanted to embed this video: http://www.youtube.com/watch?v=I8ki125wp6M&feature=sub, I'd have to take the ID out of it (I8ki125wp6M) and put it between [youtube] tags.

Well, you can still do that (we're backwards compatible so as not to ruin a load of posts still using the tags), but it is far easier just to paste the url as it is:

http://www.youtube.com/watch?v=I8ki125wp6M&feature=sub

See? That's all I posted:
Code:
http://www.youtube.com/watch?v=I8ki125wp6M&feature=sub

Oh, and if you *really* want to post a link instead of embedding the video, you can disable the automatic embedding by surrounding the url with "amoff" tags, like so:

Code:
http://www.youtube.com/watch?v=I8ki125wp6M&feature=sub

Which produces this:http://www.youtube.com/watch?v=I8ki125wp6M&feature=sub

As usual, please report bugs / sites that are missing. I should be able to add them to the plugin. I'm first going to tweak the sizes of the video players so they are a bit larger (especially for YouTube videos).

Update: This feature is disabled in the shoutbox for obvious reasons. If you post a url in the shoutbox, it'll just be a url. Big Grin

Supported sites:

Reply



Messages In This Thread
New "Auto Media" Feature - by Tiberius - October 13, 2009 at 9:08 am
RE: New "Auto Media" Feature - by Eilonnwy - October 13, 2009 at 9:10 am
RE: New "Auto Media" Feature - by leo-rcc - October 13, 2009 at 10:10 am
RE: New "Auto Media" Feature - by Tiberius - October 13, 2009 at 10:19 am
RE: New "Auto Media" Feature - by Ryft - October 17, 2009 at 12:57 am
RE: New "Auto Media" Feature - by Tiberius - October 17, 2009 at 5:45 am
RE: New "Auto Media" Feature - by downbeatplumb - October 17, 2009 at 11:39 am
RE: New "Auto Media" Feature - by theVOID - October 17, 2009 at 11:51 am



Users browsing this thread: 2 Guest(s)