#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    22
    Rep Power
    0

    Has PHP stopped my audio files from playing?


    I develop a site that contains hundreds of audio recordings of a Vedanta teacher's classes (the vast majority of which require a login although some are freely available as samples) and recently introduced PHP includes to practically every page, which of course meant changing .html file endings to .php.

    All classes pages present a user with the option either to download the selected audio or play it online.

    Since the change to 'php includes' clicking the Play Now link initiates only a download, not playing. I can think of no other change that might have caused this very recent behaviour.

    Here is a sample of typical code:

    PHP Code:
    <img src="spkr.gif" alt="" class="speakersymbol" /> 
    <
    a href="Mand2012-03-31_Ch1K1-2.mp3" target="_blank" title="Time 1 hr 16 min :: Size 18.3 MB">Play Now</a>&#8195;
    <img src="arrw.gif" alt="" class="dwnldsymbol" />
    <
    a href="talks.php?audio=Mand2012-03-31_Ch1K1-2.mp3&amp;action=download" title="Time 1 hr 16 min :: Size 18.3 MB">Download</a
    I should add that I have no trouble playing or downloading the files, but then I have admin access and develop the site using Dreamweaver CS6 on a Mac. Yesterday a user (also a Mac user) said he gets an error message telling him he needs admin access for "that part of the site". He definitely has all the login info he needs (but of course not admin access) and has previously used that area of the site (via login) happily and successfully many, many times. However, on checking the public (non-login) page arshavidya(dot)org(dot)uk/downloads(dot)php on a PC running XP, the problem occurs there too, so login and platform appear not to be part of the problem.

    Is the cause due to changing file endings to php? If so, what is the fix, please?
  2. #2
  3. Come play with me!
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,749
    Rep Power
    9397
    If there's an issue with logging in it's probably a bug somewhere.

    For the downloads, is there a URL we can try?
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    22
    Rep Power
    0
    Yes, try http://www.arshavidya.org.uk/downloads.php

    There are numerous Play Now links on the page. None seems to work properly now.
  6. #4
  7. Come play with me!
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,749
    Rep Power
    9397
    They're working for my Chrome in Windows. What browsers have you tried?
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    22
    Rep Power
    0
    My sincere apologies for wasting your time, but it seems I was using a faultily set up version of IE 8. Having now tried several browsers, it works fine. Sorry again for not checking more carefully before rushing into the forum.

IMN logo majestic logo threadwatch logo seochat tools logo