Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6906881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:21:57+00:00 2026-05-27T08:21:57+00:00

Vimeo docs are quite poor. I cannot get the simple api ready event fired.

  • 0

Vimeo docs are quite poor. I cannot get the simple api ready event fired.
I studied the docs, but their not clear. I posted in forums, but answers are not clear.
If I use a normal embed tag (in this case I must do it), it should automatically fire the ready event and listen to a default vimeo_player_loaded() function. It doesn’t. Or at least it doesn’t seem to do that.

About the ready event, the docs clearly state:

“Fired automatically when the player is ready to accept commands. Do not try to add listeners or call functions before receiving this event. When using the Flash Embed Code, the player will attempt to call vimeo_player_loaded().”

So????

And by the way, my code (video correcly embedded but ready callback doesn’t get executed):

<script>
function vimeo_player_loaded(id){
//doesn't log anything because ready event seems to not fire
console.log(document.getElementById(id).api_play);
}
</script>

<object width="320" height="160">
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="api=1" />
<param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=<?php echo $vimeo_id ?>&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" />
<embed src="http://vimeo.com/moogaloop.swf?clip_id=<?php echo $vimeo_id ?>&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" FlashVars="api=1" width="320" height="160"></embed>
</object>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:21:58+00:00Added an answer on May 27, 2026 at 8:21 am

    Finally did. So I want to share:

    <div style="width:320px; height:180px" id="flashbox-30861939"></div>
    <script>
         //vimeo_player_loaded gets automatically called my the vimeo player
         //when it is ready
         function vimeo_player_loaded(id){
             //id is automatically passed
             var swfobj = document.getElementById(id);
             swfobj.api_play();//it works!!!
         }
    
         var swf = swfobject.embedSWF("http://vimeo.com/moogaloop.swf?clip_id=30861939&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1&amp;autoplay=0&amp;loop=0", "flashbox-30861939", "320", "180", "9.0.0","expressInstall.swf", { api:1, player_id:"flashbox-30861939" }, { allowfullscreen:true, allowscriptaccess:'always' });
    </script>
    

    So, in the end I used the swfobject (please include the swfobject.js in page before caling the code above..).

    One should be quite carefull in passing the right ids. Also, pay attention to the flash vars:

    { api:1, player_id:"flashbox-30861939" }
    

    and to the params:

    { allowfullscreen:true, allowscriptaccess:'always' }
    

    Hope it helps.
    By the way, of course, it’s not mandatory to call swfobject.embedSWF AFTER the id. You can do it in the head of the doc as always. I do it there only due to some requirements of my app.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Anyone have an idea? I am using this http://vimeo.com/api/docs/player#universal on a right click on
I want to get a thumbnail image for videos from Vimeo. When getting images
I am trying to get Subsonic(3.0.0.4) to work(.Net 3.5 - VS2010), simple install that
I'm using the Ooyala API ( http://www.ooyala.com/support/docs/player_api ) to embed videos and want to
Problem : Need onclick event to pause/unpause a Youtube video, but impossible to add
Started messing around with Vimeo API in an attempt to create a clickable gallery
I've read the docs , but I'm unsure how to integrate it into my
I'm new to oauth and I'm trying to connect to the Vimeo Advanced API.
I'm wondering how vimeo manages to retain its parameters using routing, for example in
i have a problem with VIMEO video . I want to display it in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.