fast-shortcodes Plugin

The fast-shortcodes plugin is a plugin designed to replace static content that has a heavy footprint with static content that has a light footprint that replaces itself with the heavy content when needed.

What it Covers & TO DO

The fast-shortcodes plugin covers YouTube and SoundCloud currently. Auto-updates will be set up soon

Documentation is in progress

YouTube Support

To use the YouTube support, use the shortcode: [ytfast]

Acceptable parameters:

  • id
  • source
  • width
  • height
  • maxwidth
  • type (default is proportional)
  • allowfullscreen (default is on)
  • frameborder
  • center
  • start
  • end
I'd recommend setting the source and id. If you don't like the default height & width, set them too. I'd leave everything else as it is. It was designed so you could copy and paste the parameters from youtube's share code. The ID is required for it to function properly. See the example below

Examples

  1. [yt-fast src="//www.youtube.com/embed/z-ENxgjL2HE" id="z-ENxgjL2HE" width="420" height="315"]
  2. [yt-fast id="z-ENxgjL2HE"]
Topic revision: r1 - 2015-06-18 - ZachBornheimer
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback