Universal Player

The Universal Embed Code allows you to embed our player in a way that will work on many different devices. We will automatically choose the correct player based on the user’s device.

If your site will contain a Universal Player embed, but won’t show it right away, it’s best to wait to add the embed code to the page until the video is ready to be displayed. There are bugs in some browsers that prevent the proper initialization of the player if it is initially hidden.

Embed Code

Here’s what the embed code for the Universal Player looks like:

<iframe src="//player.vimeo.com/video/VIDEO_ID" width="WIDTH" height="HEIGHT" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

Parameters

Here is a list of all the parameters that can be used with the Universal Player. They should be added as query parameters to the src of the iframe.

autopause Enables or disables pausing this video when another video is played. Defaults to 1.
autoplay Play the video automatically on load. Defaults to 0. Note that this won’t work on some devices.
badge Enables or disables the badge on the video. Defaults to 1.
byline Show the user’s byline on the video. Defaults to 1.
color Specify the color of the video controls. Defaults to 00adef. Make sure that you don’t include the #.
loop Play the video again when it reaches the end. Defaults to 0.
player_id A unique id for the player that will be passed back with all Javascript API responses.
portrait Show the user’s portrait on the video. Defaults to 1.
title Show the title on the video. Defaults to 1.

If the owner of a video is a Plus member, some of these settings may be overridden by their preferences.

For example, if you’d like to change the color and hide the portrait, this is what the embed code would look like:

<iframe src="//player.vimeo.com/video/VIDEO_ID?portrait=0&color=333" width="WIDTH" height="HEIGHT" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

Flash Player (Moogaloop)

This version of the embed code is deprecated. Learn more.

Embed Code

Here’s what the embed code for the Flash Player looks like:

<object width="WIDTH" height="HEIGHT">
        <param name="allowfullscreen" value="true" />
        <param name="allowscriptaccess" value="always" />
        <param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=VIDEO_ID&amp;server=vimeo.com&amp;color=00adef&amp;fullscreen=1" />
        <embed src="http://vimeo.com/moogaloop.swf?clip_id=VIDEO_ID&amp;server=vimeo.com&amp;color=00adef&amp;fullscreen=1"
            type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="WIDTH" height="HEIGHT"></embed>
    </object>

If you’d like to substitute your own Flash embed code, this is the address of the Flash Player for website embedding:

http://vimeo.com/moogaloop.swf

Do not use any other URL for our Flash Player. This is the only one that is supported.

See the ActionScript 3 API page for info on how to embed the Flash Player inside a Flash project.

Parameters

Here is a list of all the parameters that can be used with the Flash Player. They should be added as flashvars in the embed.

title Show the title on the video. Defaults to 1.
byline Show the user’s byline on the video. Defaults to 1.
portrait Show the user’s portrait on the video. Defaults to 1.
color Specify the color of the video controls. Defaults to 00adef. Make sure that you don’t include the #.
fullscreen Allow the player to go into fullscreen. Defaults to 0.
autoplay Play the video automatically on load. Defaults to 0. Note that this won’t work on some devices.
loop Play the video again when it reaches the end. Defaults to 0.
api Set to 1 to enable the Javascript API.
api_ready Javascript function to call when the player is ready to accept API commands. Defaults to vimeo_player_loaded().
player_id An optional unique id for the player that will be passed back with all Javascript API responses.

If the owner of a video is a Plus member, some of these settings may be overridden by their preferences.