• Welcome to XF2 Addons

    You can purchase a Premium membership for only $35 per year, and this gives you access to download any or ALL of the over 400 add-ons developed for Xenforo 2.x. In addition, Premium members will get technical support. Once the Premium membership has expired you can continue to use the installed addons on your forum as long as you like.
Video

Video 1.7

No permission to download
Note
Compatible XF 2.x versions: 2.0, 2.1, 2.2
Description:

Adds Video Custom BB codes.

Allows adding a URL with either the MP4 or WEBM extension and upon saving the post will automatically add a video tag and embed a video player.

Live example here: https://www.xf2addons.com/threads/video-example.965/

(Example of video URL pasted into editor)

pic001.jpg


(Example of post after saving, video player is automatically embedded)

pic002.jpg


(Example of Options page)

pic003.jpg


Features:
  • Uses HTML <video> tag.
  • Plays MP4 and WEBM files.
  • Uses full URL in text portion of the BB code.
  • URL's can be internal or external.
  • Ability to exclude any domain.
  • Plays on all popular browsers.
  • Automatically resizes player to fit mobile phones.
Setup:

Open the extra.less template and add the following code:

Code:
// video
.videotag {
    width: 100%;
    height: 100%;
    max-width: 900px;
    max-height: 640px;
    background: #000000;
}

How to use:
  1. Create or edit a post.
  2. Paste a video URL that ends with .mp4 or .webm extension.
  3. Save post.
  4. Click the play button to watch video.
Author
Andy
Downloads
210
Views
3,917
First release
Last update
Rating
0.00 star(s) 0 ratings

Latest updates

  1. See description

    Video v1.7 changes: Added Options page. Now has the ability to exclude any domain.
  2. See description

    Video v1.6 changes: Fixed issue if post contains empty video tag it no longer throws a server...
  3. See description

    Video v1.5 changes: Code now only runs if post message is new or edited.
Back
Top