@cnbritain/wc-section-videodeprecated

A section video

Usage no npm install needed!

<script type="module">
  import cnbritainWcSectionVideo from 'https://cdn.skypack.dev/@cnbritain/wc-section-video';
</script>

README

wc-section-video

A section video

Macro settings

Key Optional Default Description
videos false List of videos to display
brand true 'default' The brand style to display

JS Documentation

SectionVideo

SectionVideo.init()

Initialises the card (aka the image lazyload)

Kind: static method of SectionVideo

Prerequisites:

  • Node.jsbrew install node
  • Grunt - npm install -g grunt-cli
  • Other prereqs? Python? Virtualenv?

Demo:

Install dependencies:

npm install

Build the things:

npm run sass
npm run js

Python the pythons:

cd demo
virtualenv .
source bin/activate
pip install -r requirements.txt

Start the demo server:

python demo.py