Menu

script doesn't work in IE

Help
2008-12-22
2013-04-17
  • Jamie Beals

    Jamie Beals - 2008-12-22

    Hello:

    I like your totally cool player and playlist generator.
    I cannot find another one like it that automates the playlist process.
    All I have to do is upload the MP3's and the code does the rest!
    Amazing!

    However... There is one problem.
    It doesn't seem to work in IE, only Firefox.
    Here is a somewhat lengthy but hopefully clear description.
    -------------------------------------------

    Could you please tell me the difference between:
    http://www.jonathanleonard.com/songs/catalog.html
    and
    http://www.jonathanleonard.com/songs/first/

    On this page:
    http://sourceforge.net/forum/forum.php?thread_id=1677257&forum_id=661942

    You list two web pages:
    http://www.jonathanleonard.com/songs/
    and
    http://www.jonathanleonard.com/songs/catalog.html

    If I go from the http://www.jonathanleonard.com/songs/ page to:
    http://www.jonathanleonard.com/songs/first/
    the script appears to be NOT working in IE but it works fine in Firefox.

    If I go to http://www.jonathanleonard.com/songs/catalog.html
    It works in BOTH IE and FireFox.

    What's the difference.
    I would like to use the script but I need to solve this issue before I
    will use it.

    I loaded the script on my own Linux Apache server here:
    http://www.012062.com/download/MP3_Streaming_Test/new/music/music/music1/

    It works fine in FireFox but not in IE.
    I have tried this experiment on several computers on with different
    versions of IE and different versions of Windows (2000 and XP) and always
    get the same result.

    The mystery is that with all the pages from
    http://www.jonathanleonard.com/songs/ , none of them work in IE except
    for:
    http://www.jonathanleonard.com/songs/catalog.html
    (This one works in IE and Firefox.

    I have tried to analyze the code to see any differences but I can't see any.

    HELP!

    thanks and regards,

     
    • sleen

      sleen - 2009-01-04

      Hi Jamie, thanks for inquiring about using the PHP XSPF Generator in Internet Explorer.

      We include, for convenience, a flash player that can use the XSPF playlist our script creates on the fly.  To be specific, our contribution is the php script included in the package that reads a directory and produces the playlist.  To help people understand how to use this script we have included a package that includes a structure, html file for embedding, documentation and an open source player that serves as a good example of how it may be used.  The readme documents where the player comes from, but of course there are many you could potentially use in substitution.

      How IE handles flash is an interesting topic for discussion and has some relevance to this project.  But it is my impression that the core of this project, the php script itself, is entirely compatible on Apache and Microsoft servers assuming the environments have been setup correctly for php.  There are other posts in this forum that clearly show that some people have not setup PHP correctly and their errors indicate this.

      Your problem however might be solved by selecting a different flash player.  This would require slightly different page embedding code containing variables specific to the flash player in question.  Toward this end, I would recommend the JW Player which I personally use for flash video since A. Youtube IS evil, B. Dreamhost has gone to unlimited and unlimited, and C. our php script works fine and creates an XSPF playlist of flv video and D. the JW Player features skins and a handy playlist display.  Given these facts I can securely upload and manage videos for a personal audience of my choosing for the same money I would spend at Dreamhost to support a small website.

      Please share with us the results of your research with the existing flash player since other users may benefit from this.  Also, don't be shy about taking this to the other project directly as they are also part of sourceforge.

      If it would help, I would be happy to share with you my own html embed code for the JW Player though it is quite similar to the methods Jereon provides on www.longtailvideo.com

      Best of luck and Happy New Year!

      jonathan adams leonard

       
      • joe looney

        joe looney - 2009-09-05

        I am having the same problem. (script doesn't work in IE). Does work in Firefox and Chrome.

        The problem is that when the script is generated, there are two additional forward slashes created at the following locations - after "your_domain.com" and after the "music1" folder:
        Both Firefox and Chrome browsers can resolve this problem but IE cannot.
        See Example 1 below which shows what the script generated info looks like.
        See Example 2 below which shows what the script generated info should be to work in IE.

        Example 1:
        http://your_domain.com//music/music1//mp3/xxx.mp3

        Example 2:
        http://your_domain.com/music/music1/mp3/xxx.mp3

        I have been able to modify the "playlist_generator.php" to remove the / after the ".com" , but have not been able to modify it to remove the extra / after "music1".

        If someone with more experience could please tell me how to modify the "playlist_generator.php" file to correct these two / errors, it would be aprreciated.

        Thanks in Advance
        Joe

         
    • Jamie Beals

      Jamie Beals - 2009-01-26

      you said in your response:
      "If it would help, I would be happy to share with you my own html embed code for the JW Player"

      I would appreciate your input in how you use the JW player with your playlist generator.  I have tried a number of iterations and haven't really had the success I wanted to.

      Please share your html embed code.

      thanks again...

       
    • Hampus Östman

      Hampus Östman - 2009-08-26

      I solved this issue by changing the following in the html / php file holding the player:

          <param name="movie" value="xspf_player.swf?playlist_url=playlist_generator.php&autoload=true&autoplay=true&shuffle=true" />

      TO:

          <param name="movie" value="../xspf_player.swf?playlist_url=playlist_generator.php&autoload=true&autoplay=true&shuffle=true" />

      Adding the same relative path as embed src= uses.

      After this it worked on IE. You may need to restart IE once to clear out cache.
      Hope it helps.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.