Santa Clara University

Web Publishing

Our Services

Support for Web publishing at Santa Clara University is provided by the Office of Marketing and Communications, Information Services, the Webmaster and Web Applications Developer in the Media Services department, and system and network administrators in the Information Technology department.

 

Web Publishing News

' 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

 
Looking for help with your Web site?

Send a support request to the SCU Web Publishing team in OMC and Media Services.

Contact us »

Printer-friendly format