Kp Gupta
Kp Gupta

Reputation: 483

Salesfroce-Vimeo how to connect via oauth?

I want to embed vimeo videos in my Vf page. I am trying to embed this with the link but it says access denied. Means it needs and authorization.

Can any body please suggest me how to d this.

Upvotes: 0

Views: 306

Answers (1)

Matt Lacey
Matt Lacey

Reputation: 8255

Sounds like the video isn't public? I'd have thought your real problem is some settings on Vimeo — I highly doubt you want your users to create accounts / login to Vimeo, and doubt you really need to store credentials for your own account either.

I've just created a public sites page to show that if the Vimeo settings are set up right that it can be embedded without a login.

The entire page code is below, note I had to add ="true" to the various full screen attributes in order for Salesforce to save the file correctly.

<apex:page >
  <iframe src="http://player.vimeo.com/video/38991709?title=0&amp;byline=0&amp;portrait=0" width="400" height="225" frameborder="0" webkitAllowFullScree="true" mozallowfullscreen="true" allowFullScreen="true"></iframe>
    <p>
      <a href="http://vimeo.com/38991709">ANGRY BEARD</a> from <a href="http://vimeo.com/user9441946">TKSH! Films &amp; Stop Motion</a> on <a href="http://vimeo.com">Vimeo</a>.
    </p>
</apex:page>

The video is not mine, it's just one I found on the Vimeo home page a moment ago

Upvotes: 2

Related Questions