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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T17:28:35+00:00 2026-06-05T17:28:35+00:00

Problem: I’m streaming my video from a php file with stream_get_contents(); using Flowplayer as

  • 0

Problem:
I’m streaming my video from a php file with stream_get_contents(); using Flowplayer as demonstrated here. It works fine however if I try to load in a new video with AJAX, the AJAX “waits” for the file to finish buffering before it loads in the new information. IE9 will wait for the buffering to finish before it follows a clicked link.

Question:
Is there a way (maybe with JS, Jquery) to interrupt or stop the video from buffering so the program can continue without having to wait for the whole file to be downloaded?

Possible solutions:
It appears the JS will work until it sends an xmlhttprequest with AJAX then it will wait. I was thinking maybe xmlhttprequest.abort(); might be a solution but maybe not because I never create an xmlhttprequest for the streaming video.

Thank you for any and all responses.

  • 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-05T17:28:37+00:00Added an answer on June 5, 2026 at 5:28 pm

    Didn’t get much a response for this one, but if anyone is ever wondering, all you have to do is clear the element using JS. Example:

    If this is my code:

    <div id="videoPlayerBox">
        <object>
            <!-- Video Player is Here -->
        </object>
    </div>
    

    Then in JS:

    document.getElementById("videoPlayerBox").innerHTML = '';
    

    or JQuery:

    $('#videoPlayerBox').html('');
    

    Very obvious and easy answer! That will clear out the player and ‘break’ the streaming. Then load in a new player via AJAX or however you want to with the new video. Hope this helps someone someday!

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

Sidebar

Related Questions

Problem: I call a PHP file using an HTTPService. I set the result of
Problem! I Have the following input (rules) from a flat file (talking about numeric
Problem: To obtain the id from a radio button using jQuery on click or
Problem I have a Silverlight 5 application using the treeview from the SDK. Now
Problem in short: How to call a function from DLL A.dll using p/invoke when
problem I'm using LilyPond to typeset sheet music for a church choir to perform.
Problem: I am using Windows as a guest operating system in a Virtual Machine
Problem description: Read an xml file, traverse to a particular node (element), if it
Problem: I need an array (datamember) in a parent class A. However, depending on
PROBLEM: Here's the code: import matplotlib.pyplot as plt plt.bar([1,2],[5,4]) plt.title('this is a very long

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.