Automatically embedded content (videos, tweets etc) (1 Viewer)

Marty

tuz
Administrator
Jul 2, 2005
16,148
#1
Thought it would be best to have a single thread for support on this topic. Basically what this does is when you post a link to a Youtube video for example it automatically embeds the video in your post so you don't have to get an embed code and paste it. I'll keep this first thread updated with a list of supported sites/services and what kind of URLs that are added to the database.

We're using regular expressions to detect what kind of link is posted and I actually have to write a regex code for each link type to be added in order for them to automatically be embedded so just because one kind of Facebook video link is supported maybe another isn't (and if so let me know so I can add it). I won't go into detail too much but will display which ones that are currently supported (remove the space in the example).

List of supported sites/services

* Dailymotion
Type: Video
Example: http ://www.dailymotion.com/video/12345

* Facebook
Type: Video
Example: https ://www.facebook.com/page/videos/12345/?video_source=pages_finch_thumbnail_video

Type: Page
Example: http ://www.facebook.com/Page

Type: Posts
Example: http ://www.facebook.com/12345/posts/6789

* Imgur
Type: Video (gif, gifv, mp4, webm, ogg)
Example: http ://i.imgur.com/12345.webm

* Instagram
Type: Photo/Video
Example: https ://www.instagram.com/p/12345/?taken-by=someone

* Streamable
Type: Video
Example: https ://streamable.com/12345

* Vimeo
Type: Video
Example: https ://vimeo.com/12345

* Youtube
Type: Video
Example: https ://www.youtube.com/watch/12345
Example: https ://youtu.be/12345

* Liveleak
Type: Video
Example: http ://www.liveleak.com/view/12345

* Gfycat

Type: Video (gif, mp4, webm, ogg)
Example: https ://gfycat.com/12345

* Twitter
Type: Post
Example: https ://www.twitter.com/12345/status/6789

* Vine
Type: Video
Example: https ://vine.co/v/12345

* CNBC
Type: Video
Example: http ://video.cnbc.com/gallery/?video=12345

* Collegehumor.com
Type: Video
Example: http ://www.collegehumor.com/video/12345/videotitle

* Gametrailers
Type: Video
Example: http ://www.gametrailers.com/videos/view/gametrailers-com/12345-Whats-New-Trailer

Something missing? Let me know and I'll try to add it. Any site/service that offers embedding can be added to Tuz.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)