MediaTube

^do( MediaTube, url )^

Type: Macro

Purpose: Embeds a responsive 4x3 YouTube iframe

The MediaTube macro embeds a responsive iframe for YouTube and similar videos. Use for high-resolution videos.

Hover below to reveal BoxPress code

<div class="embed-responsive embed-responsive-4by3 m-tb-img"><iframe class="embed-responsive-item" src="$1"></iframe></div>

MediaTube sample

This is the markup that is rendered below

^do(MediaTube, "https://www.youtube.com/embed/FkoEAcj1JmU")^

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Star Trek Meditation: Anger

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.