Customizing SMF > Modifications and Packages

Embed BBCode

(1/14) > >>

nikan:
Link to Mod

Introduction
This mod allows you to insert media embed code from known websites without any hassle.
Just copy the embed code like <object ... , <embed ... , <iframe ... , short/long url youtube and paste it inside the embed tag and the media will be displayed in your post.

Features
* Creates a bbcode button that inserts streaming media in the post.
* If you uncheck 'Embed flash into posts' from 'Post Settings' you disable the embed as well.

Languages
english
english-utf8
greek
greek-utf8

History
1.7 - Added slashes on regex for special characters
1.6 - Minor fixes
1.5 - Added HTTPS and privacy-enhanced mode for youtube
1.4 - Added support for SMF 1.1.x
1.3 - Added security checks
      - Now accepts embed code only from: megavideo, metacafe, dailymotion, veoh, vimeo, youtube
1.2 - Reworked and added dailymotion iframe embed code
1.1 - Removed iframe code creation on post and replaced with embed code
      - Added old youtube link insertion
1.0 - Initial release

!RFAN:
very nice.. thanks :)

igirisjin:
Worked like a treat but when I tried to embed more than one in a single topic the iframe just enclosed a link to the main index page - cms portal page. I use SMF  embedded in Joomla, perhaps the problem is there.

domain.com/smf  displayed  domain.com/index.php

Useing embed once on a page was ok though.

Eudemon:
i kinda like the idea using embed code instead of just the url like the other embed mod does

in reality we don't have to update the pattern when there is a code change and also url embed mod has limited patterns to the video sites

anyway i haven't test this mod yet, still upgrading my site, but doesn't this sorta give member the ability to use html in post?

Adam_Jack:
i downloaded the MOD, but, how do i install it please ?
am using SMF_v2.0 RC5

Navigation

[0] Message Index

[#] Next page

Go to full version