Skip to content

The gigya shortcode 1 – inserting videos « wordpress tips

February 10, 2011

WP.com supports javascript and flash, but doesn’t allow you to use those types of code directly, for security reasons – see Support doc on code. To insert objects that would normally require such a code, you use various WP-specific formulas – see Support doc on shortcodes.

Strangely, the gigya shortcode is missing from that doc (perhaps because it’s not as easy to use as, say, the youtube shortcode). Gigya is the shortcode that will show up in your html editor when you use the auto-post-to-WP button that some sites with videos or other flash objects provide. I first got acquainted with it when I experimented with the Mixpod audio players.

Using this shortcode, you can insert any video that provides an embed code (not directly allowed in wp.com). You copy the URL and the dimensions of the video from the embed code, and you transform them into a working shortcode this way:

[ gigya src="VIDEO URL HERE" width="WIDTH NUMBER HERE" height="HEIGHT NUMBER HERE" quality="high" wmode="transparent" allowFullScreen="true" ]

Paste into html post or page editor, removing the space between [ gigya. [*]

via The gigya shortcode 1 – inserting videos « wordpress tips.

Thank you Panos so much! Now I can put my grooveshark playlist up on my wordpress blog… And its working GREAT 🙂 (See under Categories: Music)

Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s