[AndyB] Video

XF2 Addons [AndyB] Video 1.6
Adds Video Custom BB codes.

Compatible 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



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.
  • Plays on all popular browsers.
  • Automatically resizes player to fit mobile phones.
Setup:

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

Code:
Code:
// video
.videotag {
width: 100%;
height: 100%;
max-width: 640px;
max-height: 480px;
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.
FateKid
Author FateKid
Level
11
5,910 pts
1.6 Version
0 Downloads
183 Views
Published
Updated
0.00 star(s) 0 ratings Average Rating (0)

More files from FateKid

Customize Your XenForo 2 Community

[AndyB] Video provides ultimate customization to your XenForo 2 community website! Enjoy powerful features that make your site stand out. Combine this add-on with XenForo 2 styles from our site and kickstart your online community now.

Why Download Our XenForo 2 Add-ons?

  • Easily enhance the quality of your XenForo online community.
  • Expand your XenForo 2 functionality with thousands of unique options.
  • Create unbelieveable user-experiences with advanced features.

Explore Other Resources

Are you looking for something different? Explore our thousands of unique and special XenForo 2 add-ons, available to download right now. FateKid shared this wonderful resource to you for free, so remember to share your appreciation by liking the resource and reviewing it.

Get started today and make your next project truly unique.

Top Bottom