Embed XBox Video BBCodes

Started by dougiefresh, February 29, 2016, 02:12:42 AM

Previous topic - Next topic

dougiefresh

Link to Mod



EMBED XBOX VIDEO BBCODE v1.7
By Dougiefresh -> Link to Mod



Introduction
This modification adds a BBCode to view clips from XBoxClips.com and XBoxDVR.com videos and pictures.

The BBCodes takes these forms:

[xboxdvr]{xboxdvr URL}[/xboxdvr]
[xboxdvr width=x height=x]{xboxdvr URL}[/xboxdvr]
[xboxclips]{xboxclips URL}[/xboxclips]
[xboxclips width=x height=x]{xboxclips URL}[/xboxclips]


Admin Settings
There are two new settings on the Modifications Settings page:
o XBox default width
o XBox default height

Compatibility Notes
This mod was tested on SMF 2.0.11, but should work on SMF 2.1 Beta 2, as well as SMF 2.0 and up.  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) 2016 - 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 - March 7th, 2016
o Modified auto-embed code so that XBoxDVR URLs in signature are embedded as [url]{link}[/url].
o Modified auto-embed code so that XBoxClips URLs in signature are embedded as [url]{link}[/url].

dougiefresh

Uploaded v1.2 - September 9th, 2016
o SMF 2.0.x: Replaced xbox.gif with xbox_clips.gif and xbox_dvr.gif.
o SMF 2.1: Replaced xbox.gif with xbox_clips.png and xbox_dvr.png.
o Changed code to use the new images supplied by Minecraft Manager.




@Minecraft Manager: Thank you for the code improvements that you provided.  They have been integrated into the mod....

dougiefresh

Uploaded v1.3 - July 16th, 2017
o Added ability for user to full-screen the video.

dougiefresh

Uploaded v1.4 - December 8th, 2017
o Added URL embedding code for the Tapatalk mod.

-Rock Lee-

While they do not lynch me for publishing so much in a short time O:) hahaha very good work and here I leave the Spanish Latin version.


Regards!
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

dougiefresh

Uploaded v1.5 - December 15th, 2017
o Added Spanish Latin translation, courtsey of Rock Lee!




@Rock Lee:  Thank you for the translation!  It's been included in this version!

dougiefresh

Uploaded v1.6 - March 4th, 2018
o Fixed an issue that prevents BBC manager from showing bbcodes.

dougiefresh

Uploaded v1.7 - October 17th, 2018
o No functionality change.
o Updated documentation to point to new website.

Advertisement: