Anh chị em Việt Nam
COME AS GUESTS. STAY AS FAMILY.
Video

Video 1.4

No permission to download
Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $35.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

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.southbayriders.com/forums/threads/121804/

(Example of video URL pasted into editor)

pic001-jpg.181285


(Example of video player)

pic002-jpg.181286


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.
Installation:
  1. Download Andy-Video-1.4.zip and unzip it.
  2. Copy the src/addons/Andy/Video directory to your server.
  3. From the Admin Control Panel Install the add-on.
Setup:

Open the extra.less template and add the following 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.
Author
dinhphucv
Downloads
2
Lượt xem
28
First release
Last update
Rating
0,00 star(s) 0 ratings

More resources from dinhphucv

About us

VietFriend community được xây dựng với mục đích kết nối mọi người lại với nhau, là nơi để giao lưu, học hỏi và chia sẻ mọi thứ trên đời.
Top