vimeo-api

get id video vimeo with regexp preg_match

这一生的挚爱 提交于 2019-11-28 01:23:15
问题 I try to get the id video from an url of vimeo, but looking in the source code sometimes it comes like: http://vimeo.com/XXXXXXXXX and others like: http://player.vimeo.com/video/XXXXXXXXX I just get the id video, but it must be with regExp because I must parse a content from a blog and format like a facebook page does when we insert code html. This is the regExp that I made: /vimeo\.com\/(\w+\s*\/?)*([0-9]+)*$/i Can you help me? I appreciate all your help. PD: Sorry for my english 回答1: Why

Basic PHP Vimeo Advanced API Call

隐身守侯 提交于 2019-11-28 00:15:50
问题 This is a self Q&A. I've often looked around for help on using the Vimeo API, and always found the entry level examples and documentation very difficult to follow. So I've written this Q&A as help to those that need it. So here is the question: How do I use the Vimeo PHP "Advanced API" to get all of my Vimeo videos? The key is "my" videos. This is useful for people building a site that they want to synch with their own Vimeo account. The Vimeo examples are all geared towards allowing a 3rd

Muting an embedded vimeo video

若如初见. 提交于 2019-11-27 12:53:31
问题 On a website I am building I have a vimeo video embedded. The client needs to keep the sound on the video obviously for people that find it on vimeo. However for her website the sound is just plain annoying. So I need to find a way to mute the audio within the code for the embed. I have googled it but can't seem to find anything legible. As you can see from my code below, I have used the autoplay command within the link I was hoping I could do a similar thing to mute the sound. <iframe src=