Các bước thêm BB code media Video.
Cho phép thêm URL có phần mở rộng MP4 hoặc WEBM và khi lưu bài đăng sẽ tự động thêm thẻ video và nhúng trình phát video.
Features:
Open the extra.less template and add the following code:
CSS:
How to use:
Cho phép thêm URL có phần mở rộng MP4 hoặc WEBM và khi lưu bài đăng sẽ tự động thêm thẻ video và nhúng trình phát video.
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:
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.