Need help?

Please check the Help page for general FAQ, video tutorials, and other helpful information.
  • Chris O'Shea 4 months ago

    This isn't really api related, but I wonder if anyone knows the best way to do this.

    I have 1 embedded vimeo player on the page. I have a list of text links for different videos. Id like to be able to click a text link to change the video in the player without reloading the page.

    Do you know if this is possible?

    If not, maybe I will do it all within Flash, or just reload the page.

    Thanks
  •  
  • Robert Katz 4 months ago
    I did it on my robotics team site: bobcatrobotics.org/media/video/

    Basically I just made an ajax call to a php page with the embed code. I get the video id from the id attribute of the link and pass that to the page. So if the video id was ek2j3, it would be embed.php?vid=ek2j3. That's the ajax call which updates the div.
  • Zach 'Iowa' Hoeken staff 4 months ago
    sounds like a solid solution.
  •  
  • Evan Walsh 4 months ago
    I would use jQuery to alter the video's source attribute (just trimming off the ID and appending the new one).

    That's just me, though.
  •  
This conversation is missing your voice. Take five seconds to join Vimeo or log in.

Sponsored by: