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

  • Home
  • SEARCH
  • 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 7772163
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:49:32+00:00 2026-06-01T16:49:32+00:00

I may not be using the proper terminology but hopefully I get my question

  • 0

I may not be using the proper terminology but hopefully I get my question across properly. What I’m wondering is if it’s possible to “delay” the “creation” of a specific div, rather than just delay the FadeTo or Show jquery command.

I ask because I’m using the Vimeo API which is completely mind-boggling and frustrating (at least for me – it’s a source of endless shame and I wallow in self-pity when attempting any such Vimeo API coding). What I’m trying to do is just delay the autoplay of the iframe code for an embedded Vimeo video. The problem is that I have the div containing the vimeo iframe set to hide for a good three seconds after the page loads before it fades in, but since it’s just hidden the video starts playing anyway before the visitor can actually see it. I’m just using &autoplay=1 for the vimeo embed…

So, I suppose the only other solution besides getting this confusing Vimeo API to try to delay the video that way is to be able to just use a jQuery command to delay the vimeo iframe from even loading/being created on the page, until the container div fades in.

If this is possible I will bless my lucky charms. And double points if someone answers in the next few hours! Thanks so much!!!

  • 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-01T16:49:34+00:00Added an answer on June 1, 2026 at 4:49 pm

    I just editted my answer and applied it to fit your code you provided:


    So what I did here is:
    1) load jquery into your page
    2)when jquery sees your div with id=”div” as ‘ready’, it will fire an alert that says loaded (you can remove this it was just for testing purposes), and then delay the src from loading in your iframe for 2 seconds (2000 miliseconds)
    3) So you can change the 2000 to whatever time you want, and make sure the “player_1” matches your iframes id

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    
    <script>
     $(document.getElementById('div')).ready(function() 
    {
           alert('loaded');
        setTimeout('document.getElementById("player_1").src="http://www.youtube.com/v/82CYNj7noic?autoplay=1"', 2000);
    
     });
    
    </script>
    
    <div id="div" class="div">
    <iframe class="iframe" id="player_1" >    </iframe>
    </div>
    

    ​
    ​

    Does this work for you?? I hope I’ve helped!!

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

Sidebar

Related Questions

I may not be using a proper term here, but .. Suppose you have
This may not be a programming question, but I don't know where to ask
This may not be the kind of question one should ask on StackOverflow, but
This may not be possible for the carousel but is there a way to
I fear this just may not be possible, but I'm trying to create a
(The title may not be proper but I try my best to phrase it)
This may be a stupid question, but here goes. I've seen several projects using
This may be an obvious search, but I'm not totally sure on the proper
This may be a very old, many times asked question. But I am not
First time using CSS so my question may not make sense. I am using

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.