Reputation: 483
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
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.
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&byline=0&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 & 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