AndyB Video 1.7

XF 2.0 / 2.1 / 2.2 AndyB Video 1.7

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: Video example

(Example of video URL pasted into editor) :

1.jpg


(Example of post with video player) :

2.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 :
CSS:
// 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.
Video v1.1 changes : Added ability to paste URL that ends in .mp4 and auto-embed video tags.
Video v1.2 changes : Updated regex. Now only .mp4 extension are auto-embedded.
Video v1.3 changes : Now supports webm videos.
Video v1.4 changes : Now works with XF v2.0 and v2.1.

Video v1.7 changes : Added Options page. Now has the ability to exclude any domain.
Download V1.7 :
mega.nz
 
Back
Top