Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

106
Views
Extracting the initCover function

I was given these instructions:

I need to do this.

  1. Cut out the initCover function

  2. Write initCover where the function used to be

  3. Paste the initCover function above the videoPlayer.init code.

How is this done?

videoPlayer.init({
  afterPlayerReady: function initCover() {
    manageCover.init(function playVideo() {
      videoPlayer.play();
    });
  }
});
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Not sure what the problem is, (are you getting any error message?)...

//# Cut out the "initCover" function
//# Paste the "initCover" function above the "videoPlayer.init" code.
function initCover()
{
    manageCover.init(   
                        function playVideo() 
                        { 
                            videoPlayer.play(); 
                        }
                    );
}

//# Write "initCover" where the function used to be
videoPlayer.init( initCover() ); //# eg: run initCover function from here
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!