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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:21:55+00:00 2026-06-14T18:21:55+00:00

I’ve been researching all over the web but haven’t found any conclusive answer to

  • 0

I’ve been researching all over the web but haven’t found any conclusive answer to this so thought I’d ask the stackoverflow community.

I have an HTML(5) page which is supposed to get the following functionality:

  • Video “timeline” (no editing, but user can add one video after another and reorder the videos within this timeline)
  • Separate audio tracks (music/effects, not synced speech) can be added to this space and should play alongside the arrangement of videos.

The entire ‘timeline’ of videos can be considered as one long clip, and the audio should play alongside the entire length of the timeline, not per track.

A 3 min timeline consisting of 3x 1min clips would need a matching 3min audio clip or if the audio clip is shorter it should start looping after it finishes.

From my research I gather than any of this stuff using HTML5/JS would require either support for @mediagroup or audioTracks (though the latter doesn’t really address the issues around multiple videos that are playing as one timeline).

The project’s browser requirements are: IE9 and up, Chrome, Firefox, iPad.

Is this stuff even possible today?

If it is, any ideas on how to implement this would be much appreciated.

  • 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-14T18:21:56+00:00Added an answer on June 14, 2026 at 6:21 pm

    This is all possible using Popcorn.js with a handful of new plugins and modules.

    To get started, you need:

    • The latest version of Popcorn.js (1.4, not released yet but on the master branch)
    • popcorn._MediaElementProto.js
    • Popcorn “Null” wrapper
    • Popcorn Inception plugin

    Include the above script files in that order, and create a container element in which to put everything. Then, something like this:

    var player = Popcorn.HTMLNullVideoElement('#container');
    player.src = '#t=0,180'; // Makes a fake video 180 seconds long. Nothing but a timer.
    
    var popcorn = Popcorn(player);
    
    // first clip
    popcorn.inception({
        start: 0,
        end: 60,
        source: ['video1.mp4', 'video1.webm', video1.ogv'],
        top: 0,
        left: 0,
        width: '100%'
        target: '#container',
        volume: 0 // mute this video, if you want
    });
    
    // second clip
    popcorn.inception({
        start: 60,
        end: 120,
        source: ['video2.mp4', 'video2.webm', video2.ogv'],
        top: 0,
        left: 0,
        width: '100%'
        target: '#container',
        volume: 0
    });
    
    // third clip
    popcorn.inception({
        start: 120,
        end: 180,
        source: ['video3.mp4', 'video3.webm', video3.ogv'],
        top: 0,
        left: 0,
        width: '100%'
        target: '#container',
        volume: 0
    });
    
    // audio file
    popcorn.inception({
        start: 0,
        end: 180,
        source: ['audio.mp3', 'audio.ogg'],
        visibility: 'hidden'
    });
    

    You can programmatically add or remove any or all of those clips, including additional copies of the audio file if you need it to loop. The HTMLNullVideoElement mimics a native video element, so you can use the methods and properties on that object to create a player interface.

    The only issue here is that none of this is going to work on an iPad. Unfortunately, Mobile Safari will not play more than media element in a web page. There are some tricks you can do to swap them out as the play, but it’s probably not going to play seamlessly and the audio track won’t work.

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
This could be a duplicate question, but I have no idea what search terms
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
Let's say I'm outputting a post title and in our database, it's Hello Y’all
Seemingly simple, but I cannot find anything relevant on the web. What is the
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
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

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.