Results 1 to 7 of 7

Thread: Vimeo javascript

  1. #1
    Join Date
    Nov 2012
    Posts
    10
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Vimeo javascript

    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/

  2. #2
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    47
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    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?
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

  3. #3
    Join Date
    Nov 2012
    Posts
    10
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    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.

  4. #4
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    47
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    I that case, is there a live link you can show us or some code?
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

  5. #5
    Join Date
    Nov 2012
    Posts
    10
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I'm using the files that are here:

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

  6. #6
    Join Date
    Nov 2012
    Posts
    10
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Any ideas?

  7. #7
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,946
    Thanks
    16
    Thanked 304 Times in 303 Posts
    Blog Entries
    11

    Default

    Quote Originally Posted by pressppm View Post
    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
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

Similar Threads

  1. Replies: 13
    Last Post: 05-08-2008, 06:48 AM
  2. Replies: 4
    Last Post: 02-11-2008, 01:38 PM
  3. Javascript.AJAX link inside javascript dropdownmenu
    By Possemaster in forum JavaScript
    Replies: 2
    Last Post: 01-25-2008, 08:46 AM
  4. 3rd javascript not supporting in side the javascript program
    By raju in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 03-24-2007, 10:34 AM
  5. [Javascript] Class-Based Javascript Analog Clock
    By ByteMyCode in forum Submit a DHTML or CSS code
    Replies: 2
    Last Post: 10-14-2006, 10:13 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •