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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:08:51+00:00 2026-05-16T16:08:51+00:00

So, using a HTML 5 compliant video player, (like Video JS) how would one

  • 0

So, using a HTML 5 compliant video player, (like Video JS) how would one go about loading a video dynamically, without having to reload the entire page? Imagine, a list of links (something like a playlist), and each link points to a video. When clicking the link, I want to load the selected video into player.

Currently, I’m using an Iframe that holds the video player, so basically a I pass a variable on to the Iframe, and reload it. I don’t think this is ideal, for a few reasons; it doesn’t allow the video to go full screen, the Back button moves the Iframe back not just the main page, plus, it’s an Iframe. I’d rather avoid this.

Ideas? Thanks!

  • 1 1 Answer
  • 2 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-05-16T16:08:51+00:00Added an answer on May 16, 2026 at 4:08 pm

    Came up with a simple solution. Here’s the script; throw this in the head:

    function vidSwap(vidURL) {
    var myVideo = document.getElementsByTagName('video')[0];
    myVideo.src = vidURL;
    myVideo.load();
    myVideo.play();
    }
    

    And then the HREF will call the function:

    <a href="#" onClick="javascript:vidSwap('myMovie.m4v'); return false;">Link</a>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am targeting Chrome and other CSS3 compliant browsers and would like to have
Using HTML and CSS. I have text surrounded by a border using display:inline to
Using html and css for IE7, how do I position a html table at
Using HTML 5 together with the DOM is there a way to get the
When using HTML custom attributes it doesn't works in Chrome. What I mean is,
Currently I am using HTML files for parts of my user interface. I display
This is my code: @using (Html.BeginForm(UploadImages, Administration, new { _id = Model.Album.AlbumID, enctype =
I am using html 5 for web page. When i validate my webpage in
I have been using HTML Parser to scrapping data from websites and stripping html
I am using html entities for previous and next page navigation on my web

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.