smellyrat / drydock

Automatically exported from code.google.com/p/drydock
0 stars 0 forks source link

Embedded video upload #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Embedded videos could count as an image upload and a user would put the URL
in the upload field instead of the BBcode method. The preview thumbnails
could be resized the THmaxthumb or whatever it is. - reply.php/thread.php
checks if the "filename" to see if it starts with http://www.youtube.com or
http://myspacevideo.com or whatever that is, or google video. Use standard
embed code from those sites in the templates instead of the img code

Original issue reported on code.google.com by TaQS...@gmail.com on 22 Sep 2008 at 5:23

GoogleCodeExporter commented 9 years ago

Original comment by TaQS...@gmail.com on 22 Sep 2008 at 5:24

GoogleCodeExporter commented 9 years ago

Original comment by all.sta...@gmail.com on 20 Oct 2008 at 2:26

GoogleCodeExporter commented 9 years ago
In the [dbi]-post files:

change this:
            if (!preg_match("/^(http:|https:|ftp:|mailto:|aim:)/", $link))
            {
                $link = "mailto:" . $link;
            }
to check if the http is a link to a youtube/google url, and then the body of 
the post
will contain the embedding html and parse in the video uri

I pretty much want to drop support for myspace because I hate myspace and I 
don't
think anyone uses it, plus youtube is way easier to embed.

Original comment by TaQS...@gmail.com on 9 Dec 2008 at 6:52

GoogleCodeExporter commented 9 years ago
Wrote the code for this, holding onto it until 032 or until I change my mind and
stick it in there as a bonus feature  :3

Original comment by TaQS...@gmail.com on 15 Apr 2009 at 10:35