Video

XF2 Addons Video 1.7
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 the editor)
pic001.jpg


(Example of the post after saving, the 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 the text portion of the BB code.
  • URLs can be internal or external.
  • Ability to exclude any domain.
  • Plays on all popular browsers.
  • Automatically resizes players to fit mobile phones.
Setup:
Open the extra.less template and add the following code:
CSS:
// 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 a .mp4 or .webm extension.
  3. Save post.
  4. Click the play button to watch the video.
shanruto
Author shanruto
Level
10
5,175 pts
1.7 Version
6 Downloads
570 Views
Published
Updated
0.00 star(s) 0 ratings Average Rating (0)
No Tags

More files from shanruto

Top Bottom