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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T01:30:08+00:00 2026-05-24T01:30:08+00:00

I need a method to hide the file source in embedding code for the

  • 0

I need a method to hide the file source in embedding code for the DivX player.

The file source is remote. I am trying to stream the file through a php file using the header. I am using 3 parts. 1:define the file path in a session. 2:embed the video reading file : stream.php. 3: redirect to video source.

Here is part 1, define file source:

<?PHP session_start();
$_SESSION["url_vid"] = "http://remote-server.com/file.avi";
?>

Here is the embed code (part 2):

<object classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616" width="320" height="260" codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab"> 
                <param name="custommode" value="none" /> 
                <param name="autoPlay" value="false" /> 
                <param name="src" value="stream.php" /> 
                <embed type="video/divx" src="stream.php" custommode="none" width="850" height="400" autoPlay="false"  pluginspage="http://go.divx.com/plugin/download/"> 
                </embed> 
            </object> 

here is the stream.php code :

<?PHP
session_start();
header("Location :".$_SESSION["url_vid"]);
?>

This isn’t working.

When it the DivX player is ran, it alerts with : “The DivX Plus Web Player could not download the video, please check your Internet connection” But when going directly to the stream.php file it begins downloading the file.

Does anyone know of any alternative ways to hide the file path. Or some way to fuss with the stream.php file to get it working through the DivX player.

I need to use the DivX player because it can read .avi files.

  • 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-05-24T01:30:09+00:00Added an answer on May 24, 2026 at 1:30 am

    http://labs.divx.com/node/1304

    Apparently DivX doesn’t do cookies too well. This could be the explanation. I don’t think it’s possible to do this.

    I noticed, when web player starts it makes 2 connections (for any
    movie). the first connection downloads a 2.8 KB (I guess this is the
    header which tells divx player if the file is a movie or not) and then
    the 2nd connection which downloads the movie itself and plays it.

    what I noticed is, when authentication is “enabled”, divx web player
    requests for the first connection “WITH COOKIES”, so it will get the
    header correctly, but when it comes to the 2nd (actual) connection, it
    doesn’t send the COOKIE, and therefor the returned movies is Access
    denied text.

    You might want to look into setting some sort of a temporary key to pass to stream.php, which stream.php can lookup and then match to a URL to redirect to (and then delete the key preventing people from copying the link) – that is, if the problem isn’t because DivX doesn’t support redirects.

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

Sidebar

Related Questions

I need to process this chain using one LoadXML method and one urlLoader object:
im trying to have one link for a file download and at the same
i need to hide/show javascript-generated content, see below: $(window).load(function () { $(body).html('<a href=# id=ipsum>Show
I need to be able to hide the soft keyboard in response to clicking
Possible Duplicate: Hide a C# program from the task manager? I need to create
I need to make <div> displayed inline and hide them with overflow: hidden for
I am trying to create a simple dialog box to allow my user to
I need to make a completely blank page in Drupal. If I don't give
I need to have different markers for different mapType s, and I'm pushing them
I knew how to do this but forgot again... Quite irritating, because I'm working

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.