Results 1 to 6 of 6

Thread: JS.Jplayer

  1. #1
    Join Date
    Jul 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default JS.Jplayer

    Hi...I cannot get this player to work in Firefox..it works great in IE9 but will not play in Firefox...I've got all the MP3's and Ogg's as well loaded to the correct path, and I've added the direct paths to the songs..and again it plays fine in IE...Below is the script I used....Thanks again.


    !-- Styles -->
    <link rel="stylesheet" href="css/reset.css">
    <link rel="stylesheet" href="css/grid.css">
    <link href='http://fonts.googleapis.com/css?family=Ubuntu+Condensed' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="css/jPlayer.css">

    <link rel="stylesheet" href="css/style.css">
    <!-- End Styles -->







    <script type="text/javascript" src="js/jquery.jplayer.min.js"></script>
    <script type="text/javascript" src="js/jplayer.playlist.min.js"></script>

    <script type="text/javascript">
    // jPlayer
    //<![CDATA[
    $(document).ready(function(){
    new jPlayerPlaylist({
    jPlayer: "#jquery_jplayer_1",
    cssSelectorAncestor: "#jp_container_1"
    }, [

    {
    title:"1-DANCE TO THE RADIO",
    mp3:"http://garyssign.com/assets/audio/mp3/dancetotheradio.mp3",
    oga:"http://garyssign.com/assets/audio/mp3/dancetotheradio.ogg"

    },

    {
    title:"2-THIS LOVE IS REAL",
    mp3:"http://garyssign.com/assets/audio/mp3/thisloveisreal.mp3",
    oga:"http://garyssign.com/assets/audio/mp3/thisloveisreal.ogg"
    },

    {
    title:"3-THIS HEART",
    mp3:"http://garyssign.com/assets/audio/mp3/thisheart.mp3",
    oga:"http://garyssign.com/assets/audio/mp3/thisheart.ogg"
    },
    {
    title:"4-BUILD ME UP",
    mp3:"http://garyssign.com/assets/audio/mp3/buildmeup.mp3",
    oga:"http://garyssign.com/assets/audio/mp3/buildmeup.ogg"
    },
    {
    title:"5-HEAVEN",
    mp3:"http://garyssign.com/assets/audio/mp3/heaven.mp3",
    oga:"http:/garyssign.com/assets/audio/mp3/heaven.ogg"
    },
    {
    title:"6-ARE YOU READY TO PARTY",
    mp3:"http://garyssign.com/assets/audio/mp3/areyoureadytoparty.mp3",
    oga:"http://garyssign.com/assets/audio/mp3/areyoureadytoparty.ogg"
    },
    {
    title:"7-GIRL LIKE YOU",
    mp3:"http://garyssign.com/assets/audio/mp3/girllikeyou.mp3",
    oga:"http://garyssign.com/assets/audio/mp3/girllikeyou.ogg"
    },
    {
    title:"8-SHE'S STILL IN LOVE",
    mp3:"http://garyssign.com/assets/audio/mp3/shesstilllove.mp3",
    oga:"http://garyssign.com/assets/audio/mp3/shesstilllove.ogg"
    },
    {
    title:"9-GONNA WIN YOU BACK",
    mp3:"http://garyssign.com/assets/audio/mp3/gonnawinyouback.mp3",
    oga:"http://garyssign.com/assets/audio/mp3/gonnawinyouback.ogg"
    },
    {
    title:"10-I CAN'T THINK",
    mp3:"http://garyssign.com/assets/audio/mp3/icantthink.mp3",
    oga:"http://garyssign.com/assets/audio/mp3/icantthink.ogg"
    },

    {
    title:"11-I WILL NEVER GET USED TO SHARING YOU",
    mp3:"http://garyssign.com/assets/audio/mp3/iwillnevergetused.mp3",
    oga:"http://garyssign.com/assets/audio/mp3/iwillnevergetused.ogg"
    },

    {
    title:"12-SHE SHOT A HOLE IN MY SOUL",
    mp3:"http://garyssign.com/assets/audio/mp3/sheshotahole.mp3",
    oga:"http://garyssign.com/assets/audio/mp3/sheshotahole.ogg"
    }

    ], {
    swfPath: "js",
    supplied: "mp3, oga",
    wmode: "window"
    });
    });
    //]]>
    // End jPlayer

  2. #2
    Join Date
    Mar 2011
    Posts
    2,144
    Thanks
    59
    Thanked 116 Times in 113 Posts
    Blog Entries
    4

    Default

    Please use the forum's bbcode tags to make it more readable:

    for php code............[php] <?php /* code goes here */ ?> [/php]
    for html...............[html] <!-- markup goes here -->.....[/html]
    for js/css/other.......[code] code goes here................[/code]

  3. #3
    Join Date
    Jan 2011
    Location
    Southeastern CT
    Posts
    612
    Thanks
    46
    Thanked 32 Times in 32 Posts

    Default

    A link to the problem page would be more help then what you posted.
    Thanks,

    Bud

  4. #4
    Join Date
    Jul 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Js.player

    Sorry.....www.garyssign.com is the site...it's the Music Player page...musicplayer.html...It plays in IE but not Firefox...
    sorry for my ignorance....hopefully this is what you needed, if not..let me know...just learning...

    BTW-Thanks keyboard1333...

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    There could also be other problems, but the paths to the ogg files are wrong. For example:

    Code:
    title:"1-DANCE TO THE RADIO",
     mp3:"http://garyssign.com/assets/audio/mp3/dancetotheradio.mp3",
     oga:"http://garyssign.com/assets/audio/mp3/dancetotheradio.ogg"
    
     },
    and similar should be:

    Code:
    title:"1-DANCE TO THE RADIO",
     mp3:"http://garyssign.com/assets/audio/mp3/dancetotheradio.mp3",
     oga:"http://garyssign.com/assets/audio/ogg/dancetotheradio.ogg"
    
     },
    I checked. The file is there and plays, at least for that one. I'm just guessing that the rest of them are in the same place, probably are.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Jul 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default JS.Jplayer

    That took care of it. Thank you so much for the help and patience with me.
    Take care!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •