Advertisement:

Navigation

SMF Mod Site

Mod Name:
Open Embed
Created By:
nend
Type:
BBC
First Created:
December 08, 2015, 10:44:07 PM
Last Modified:
August 12, 2016, 07:13:45 PM
Latest Version:
0.5.5
Compatible With:
2.0.11
Total Downloads:
870

Download this mod

Open-Embed.tar.gz (5kB) [682]
Manual Install Instructions for SMF


Below are some preview images of what the mod looks like when being used

Description:

Open Embed is a BBCode that works with Open Graph, oEmbed and Meta information to embed media, such as videos or music, and site descriptions into your website post.

Instead of installing various mods to embed content from a web site you can embed content with this mod from any site that supports it with one simple BBC tag.

Code: [Select]
[embed]http://url.of.site/you/want/to/embed[/embed]
By placing the URL from the address bar in between the [embed][/embed] tags, this mod pulls Open Graph and Meta information shared freely from the site owner for display on your forum. By doing this your displaying the content the way the site author intended.

This mod caches the data in the database with a short TTL of only 30 days. This mod also uses the cache system with a TTL of 30 minutes.

Popular Supported Sites [Tested]
- Facebook
- MetaCafe
- YouTube
- Vimeo
- Vine

Live Examples
http://dev.sicomm.us/index.php?board=2.0;sort=subject

The sites that supply information for sharing their content are many. This is just a short list of sites that have been tested so far.

oEmbed Sites
Due to security concerns of the oEmbed standard, any site that shares its information via oEmbed must be added manually in the control panel in Modification Settings. You must add the site to the Allowed Sites list in the Open Embed menu.

For a list of oEmbed sites you can add to the white list, visit the link below.
http://oembed.com/#section6

Requirements
PHP 5.2 or greater

License
Copyright (c) 2015, Russell Najar (SiberInc)
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of the SiberInc nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.