Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8146789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:07:11+00:00 2026-06-06T14:07:11+00:00

I’m using jquery to remove src from an embedded vimeo video by clicking on

  • 0

I’m using jquery to remove src from an embedded vimeo video by clicking on a certain list item. Works fine when i use this embed code in the src string:

video1.attr('src','http://player.vimeo.com/video/43550778);

However I would rather use a more complex embed code to get rid of some unsightly default embedding settings:

video1.attr('src','http://player.vimeo.com/video/43550778?title=0&byline=0&portrait=0&color=ababab');

This doesn’t work. When the list item that triggers this attr to be removed is clicked, it doesn’t work. All other functions work with the exception of this. Is there something wrong with this embed code? Some illegal characters? I can’t figure it out.

Any help appreciated!

Edit:
I’ve set up my jquery like this:

nav.filter(':nth-child(1)').on( 'click', function(){
        images.filter(':nth-child(1)').slideDown(800).siblings().slideUp(50);
        video2.attr('src','');
        video1.attr('src','http://player.vimeo.com/video/43550778?title=0&byline=0&portrait=0&color=ababab');
    });

I’m using the empty src to in effect stop the video as it slides up. As you can see there’s also a different video on the page which is also being kept hidden.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T14:07:13+00:00Added an answer on June 6, 2026 at 2:07 pm

    As @TrentSeed suggested, you shouldn’t need to encode your ampersands as HTML entities in your javascript source. Just use a literal ampersand.

    http://jsfiddle.net/xdUMN/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am reading a book about Javascript and jQuery and using one of the
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
That's pretty much it. I'm using Nokogiri to scrape a web page what has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I would like to run a str_replace or preg_replace which looks for certain words

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.