[video:] Short Tag
[video:] short tag is used to render a video player for an attached file using the first video player plugin available.
When you attach a video file to a post and then click on the blue (+) icon, a tag like
[video:123] will be automatically inserted at the cursor position in your post.
[video:123]generates a block element (
<video>...</video>) and cannot appear inside a paragraph. (b2evolution will automatically move it out of the paragraph).
When installed, specific video plugins may support an alternate syntax such as
Those video plugins may also provide toolbars with button to automatically insert these tags.
[video: Link ID
Link ID: ID of the linked video that will be shown.
: Video ID
- Provider: the site that provides the video content. Valid values are:
- Video ID: the ID of the video to show. Format depends on the video provider.
Because this tag will typically render to a block element (like
<div>), it should not be placed into a paragraph (
<p>). It should be placed between 2 paragraphs. If b2evolution finds the tag inside of a paragraph if will actually move it before the paragraph at rendering time.