Este plugin no se ha actualizado en más de 2 años. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

WP Gfycat

Descripción

A simple shortcode to add your gfycat videos into your website. This plugin will enable you to use shortcodes to insert your gfycat videos from gfycat.com. Based on gfycat.js, an embed script to generate gfycat embeds on 3rd party websites by gfycat.com.

WP Gfycat options

  • data_id: the gfycat id (required)
  • data_controls: whether or not to include controls for pause/speed/etc (default: true)
  • data_title: whether or not to include the title on hover over (default: true)
  • data_autoplay: whether or not to automatically start playback when the page loads (default: false)
  • data_expand: whether or not the video element should expand to fill the space of its container (default: false)

Basic examples

Automatically start playback:

[gfycat data_id="BestYellowishElephantseal" data_autoplay=true]

Automatically start playback and hide controls:

[gfycat data_id="BestYellowishElephantseal" data_autoplay=true data_controls=false]

Capturas

  • Copy and paste the gfycat ID in your post or page.
  • Highlight the ID.
  • Click on the wp-gfycat button to insert the shortcode.
  • That's it! Preview the draft or publish your post to see the results.

Instalación

Automatic Installation

  1. Download the current version of the WP Gfycat plugin.
  2. Go to your WordPress Admin Panel and click on Plugins >> Add New >> Upload
  3. Choose the downloaded package and Install and Activate the WP Gfycat plugin.

Manual Installation

  1. Download the current version of the WP Gfycat plugin.
  2. Unzip the fileand upload the wp-gfycat folder into the /wp-content/plugins directory of your WordPress installation.
  3. Go to your Admin panel and activate the WP Gfycat plugin.

Preguntas frecuentes

How do I embed gfycats in my posts/pages/templates?
  1. Copy and paste the ID of a gfycat video anywhere in your posts or pages. (The ID is the part after http://gfycat.com/ in the URL. E.g. MelodicShadowyChinchilla in http://gfycat.com/MelodicShadowyChinchilla)
  2. Select the text you just pasted and click the WP Gfycat button in the visual editor.
  3. That’s it! Save your post or preview it.

You can enter manually the [gfycat] shortcode anywhere in your posts, pages or widgets:

[gfycat data_id="BestYellowishElephantseal"]

You can also display the gfycats outside your posts or pages using do_shortcode:

<?php echo do_shortcode('[gfycat data_id="BestYellowishElephantseal"]'); ?>

Colaboradores y desarrolladores

“WP Gfycat” es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce “WP Gfycat” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código o suscríbete al historial de desarrollo por RSS.

Registro de cambios

0.9.2

  • Now you can insert the shortcode in your widgets.

0.9.1

  • Added a wp-gfycat button to the TinyMCE editor.

0.9

  • Initial release.