Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP - ASX & MAC Headaches

Status
Not open for further replies.

shaka0070

Programmer
Sep 26, 2000
1
US
I create my ASX files dynamically through PHP and I draw the nessessary information from databases which helps to build them. I have a major problem with the delivery of dynamically generated files for the windows media player on a mac. Here is a sample of the asx code (this works fine when a pc tries to run it). The code below will not work on a mac with the latest version of the WMP.

--- CODE ----
<asx version = &quot;3.0&quot;>
<ENTRY>
<Ref href = &quot; />
</Entry>
</asx>
--- END CODE ---

Basically this is the process I am working by:
1. User clicks link from web page
2. Link points to PlayShow.php3?ID=654&type=.asx
3. The php extracts all neccessary info for ID# 654 and creates the asx.
4. The asx file also links to another dynamically created asx file hosted on Intervu.
5. The Intervu asx file then connects to the asf file based upon the string stream=/directory path

Now, I do it this way for the following reasons:
1. Intervu does not allow sites to host asx files remotley
2. I do not want to have thousands of actual asx files
3. Allows for me to do ad insertions dynamically

Here is where the error happens...
The media player opens up, then it just sits there saying &quot;connecting&quot;. Thats all it does. Now, if I connect directly to I can access it fine and it all plays okay. But as soon as I try implimenting an asx file within an asx file it does not work.

Like I said... this entire process works 100% on a pc. I just cannot get it to function correctly on a mac. [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top