Santa Clara University

Web Publishing

Web Publishing Services


Web Publishing News

Back to Blog

Video shortcodes in the blog

Friday, Feb. 15, 2013

The option to include a Vimeo or Youtube video in the full content text block is now available in the blog. To embed a video, you'd use a shortcode similar to those used in Wordpress:

code sample

These references will be converted to embedded video players:

You'll need to snag the video ID from the URL on Vimeo or Youtube to use in the shortcode.

The width and height settings are optional - the default uses the height/width for the center column of a three-column page layout - but if you wanted to wrap text around this you could do so by reducing the size and then wrapping that in a fixed width div block that's floated left or right.

Tags: Commonspot

Printer-friendly format
smallersmaller Change Text Size