Santa Clara University

Web Publishing

Web Publishing Services

 
' st_image='http://www.scu.edu/images/template/scu-logo-seal.png'>' st_image='http://www.scu.edu/images/template/scu-logo-seal.png'>' st_image='http://www.scu.edu/images/template/scu-logo-seal.png'>' st_image='http://www.scu.edu/images/template/scu-logo-seal.png'>' st_image='http://www.scu.edu/images/template/scu-logo-seal.png'>' st_image='http://www.scu.edu/images/template/scu-logo-seal.png'>

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.

http://vimeo.com/56033353

http://www.youtube.com/watch?v=GGhOlaWk0OY

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

 
plugin_disabled
Printer-friendly format
 
 
smallersmaller Change Text Size