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 8959985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:34:13+00:00 2026-06-15T15:34:13+00:00

I have added several cues to a video using popcorn JS. How do I

  • 0

I have added several cues to a video using popcorn JS.

How do I remove or modify a specific cue?

  • 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-15T15:34:14+00:00Added an answer on June 15, 2026 at 3:34 pm

    Once you’ve added a cue to your Popcorn instance, you can remove it the same way you remove any plugin event, with the removeTrackEvent method.

    popcorn.removeTrackEvent(eventId);
    

    The trick is getting the id of the event you want to remove. Popcorn doesn’t really provide an easy way to search for track events, so you’ll want to get the id and hold on to it at the time the event is created.

    popcorn.cue(1, function() {
       console.log('Do that voodoo.');
    });
    var eventId = popcorn.getLastTrackEventId();
    // some time later...
    popcorn.removeTrackEvent(eventId);
    

    The Popcorn API was originally designed to be chainable, so the cue method returns the Popcorn instance. That’s why you need the separate call to getLastTrackEventId.

    If you want to modify a cue, it depends on whether you want to take the same function and move it…

    popcorn.cue(eventId, 2); //move it to 2 seconds
    

    Or change the function:

    popcorn.cue(eventId, function() { console.log('hi!'); }); //time stays the same
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have added several elements to an ObservableCollection and now I want to modify
I have several Core Data model version that I have added to my .xcdatamodeld
I have several forms added to the pages of the tab control via tabcontrol.tabpages.controls.add
I have several ReorderLists on a page. Each list has items added to it
I have a form in which several buttons are added at runtime via a
I've enabled code-first migrations on my entity framework project, and have added several migrations
I have a Canvas, to which I've added several thousand polygons. I would like
I have been using VS2010 with Resharper 5 for several weeks and am having
I have added several custom icons to my buttons, and they work fine if
I'm using linq to sql in my data layer where I have added a

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.