Skip to content

jrc9designstudio/statamic-bootstrap-video-embed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bootstrap Video Embed for Statamic 2

Requirements: Statamic v2.x, Statamic Video Embed v2.x
Version: 1.0.0

What is this?

A tag that adds your video including the Bootstrap Responsive Embed Tags.

Installation

  • Install and configure Statamic Video Embed.
  • Rename the folder BootstrapVideoEmbed and copy it to your site/addons folder.

Tag

  • Assuming your video embed field is video.
{{ bootstrap_video_embed src='{video:url}' height='{video:height}' width='{video:width}' }}
  • If you want to overide the default settings (from the Video Embed addon).
{{ bootstrap_video_embed src='{video:url}' height='{video:height}' width='{video:width}' autoplay='true' loop='true' api='true' showinfo='false' controls='false' }}

Made with ❤️ by JRC9 Design Studio