News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Embed DailyMotion Video

Started by dougiefresh, November 10, 2018, 09:28:42 PM

Previous topic - Next topic

dougiefresh

Link to Mod



EMBED DAILYMOTION VIDEO BBCODE v1.1
By Dougiefresh -> Link to Mod



Introduction
This modification adds a BBCode to view DailyMotion videos.

The BBCode takes this form:

[dailymotion width=x]{DailyMotion URL}[/dailymotion]


Admin Settings
There are a new setting on the Modifications Settings page:
o DailyMotion default width

Related Discussion
o Request made in Yet Another YouTube BBCode Tag mod

Compatibility Notes
This mod was tested on SMF 2.0.14, but should work on SMF 2.1 Beta 3, as well as SMF 2.0 and up.  SMF 2.1 Beta 1 & 2, as well as SMF 1.x, is not and will not be supported.

This mod should be installed after Tapatalk mod, if you want to use it with Tapatalk.

Changelog
The changelog can be viewed at XPtsp.com.

License
Copyright (c) 2017 - 2018, Douglas Orend
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. 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.

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.

dougiefresh

Uploaded v1.1 - November 12th, 2018
o Changed the bbcode button icon to proper DailyMotion icon.

Senkusha

FYI:  This mod does not work properly with 2.1.2.  When attempting to use this tag, only a white area space is presented.

See the result here:  Topic link
--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

Doug Heffernan

Quote from: Senkusha on June 05, 2022, 07:40:16 AMFYI:  This mod does not work properly with 2.1.2.  When attempting to use this tag, only a white area space is presented.

See the result here:  Topic link

The latest version tha this mod is compatible with is: 2.1 RC2. Things have changed from that version to the current one, 2.1.2. Hence why it might not work properly now.

Advertisement: