- Compatible XF Versions
- 2.0
- 2.1
- 2.2
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)
View attachment 4632
(Example of post after saving, video player is automatically embedded)
View attachment 4633
(Example of Options page)
View attachment 4634
Features:
Open the extra.less template and add the following code:
Code:
// video
.videotag {
width: 100%;
height: 100%;
max-width: 900px;
max-height: 640px;
background: #000000;
}
How to use:
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)
View attachment 4632
(Example of post after saving, video player is automatically embedded)
View attachment 4633
(Example of Options page)
View attachment 4634
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.
- Ability to exclude any domain.
- Plays on all popular browsers.
- Automatically resizes player to fit mobile phones.
Open the extra.less template and add the following code:
Code:
// video
.videotag {
width: 100%;
height: 100%;
max-width: 900px;
max-height: 640px;
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.