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:
(Example of video URL pasted into editor) :
(Example of post with video player) :
Features :
Open the extra.less template and add the following code :
How to use :
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 :
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:
You must be registered for see links
(Example of video URL pasted into editor) :
(Example of post with video player) :
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.
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 :
- Create or edit a post.
- Paste a video URL that ends with .mp4 or .webm extension.
- Save post.
- Click the play button to watch video.
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 :
You must be registered for see links