WordPress.org

Ready to get started?Download WordPress

Forums

Vimeo Short Code
Lux, vimeo color short code (4 posts)

  1. smogdog
    Member
    Posted 1 year ago #

    Hi
    I'm trying to specify the color using the vimeo short code plugin (Lux Vimeo), but I can't get it to display the color I want.
    How do I set up the color short code?

    Cheers

    Hans g

    http://wordpress.org/extend/plugins/lux-vimeo-shortcode/

  2. klweddings
    Member
    Posted 1 year ago #

    +1 on this. The changelog says a color parameter is supported but it's not working and there's no mention of it in the usage documentation. Perhaps it's a small bug?

    Great plugin, thanks!

  3. gradient9
    Member
    Posted 1 year ago #

    Here's a very easy solution to get the color code working. Open up the plugin code and replace line 30 with this:

    "<iframe src='http://player.vimeo.com/video/$clip_id?title=$title&byline=$byline&portrait=$portrait&color=$color' width='$width' height='$height' frameborder='0'></iframe>" :

    The shortcode would like this:
    [vimeo clip_id="XXXXXXX" color="609d45"]

    Please note that you don't need to include the # at the beginning of the hex color.

  4. mikemirandi
    Member
    Posted 10 months ago #

    Thanks for the input, gradient9. However I tried changing the code and using your shortcode, and it still didn't work.

    In fact, I can't seem to get the shortcode to do anything other than the frame size. I haven't been able to remove the byline, title, or portrait from the final embedded frame.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic