PDA

View Full Version : Vimeo javascript



pressppm
11-22-2012, 03:23 PM
Hi,

I am using a shortcode to display a vimeo video.

{type:'VIMEO', video_id : "123456", title : 'title of video', thumb : '#'}

It works perfectly, however as i'm using this shortcode I can't disable the avatar and share buttons etc that display on the video.
If i was using the normal embed code I could just change the html to remove those bits.

I thought i found a solution here but it doesn't work:
http://ms-studio.net/portfolio/fixing-vimeo-via-jquery/

bernie1227
11-23-2012, 06:55 AM
I'd definately pay attention to this part here:


Regarding the CSS selector (#content iframe): in our case, the vimeo embeds were the only occurence of an iframe that would show up inside the #content area. On the other hand, even if the script would get wrongly applied on some iframe, the parameters would probably have no adverse effect.

Do you have any other Iframes in the div with the id content?

pressppm
11-26-2012, 04:41 PM
Hi,

No i don't have any other iframes. It's really stripped down so there's not much on the page at all really.

bernie1227
11-26-2012, 08:06 PM
I that case, is there a live link you can show us or some code?

pressppm
12-03-2012, 02:39 PM
I'm using the files that are here:

https://github.com/buildinternet/supersized/pull/83

pressppm
12-11-2012, 03:18 PM
Any ideas?

Beverleyh
12-12-2012, 01:15 AM
If i was using the normal embed code I could just change the html to remove those bits.
I don't really know what the shortcode relates to, or where the jQuery Supersized plugin comes in, but if you've identified that the normal embed code can more easily be manipulated, why don't you just use that?

For further assistance, please provide s link to your page do we can see things in context