Yuzayu jPlayer to play music on the page. The player itself is initialized, but there is no panel.

<link type="text/css" href="skin/jplayer.blue.monday.css" rel="stylesheet" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"> </script> <script type="text/javascript" src="jPlayer/jquery.jplayer.min.js"></script> <script type="text/javascript" src="jPlayer/add-on/jquery.jplayer.inspector.js"></script> <script type="text/javascript"> $(function(){ $("#jquery_jplayer_1").jPlayer({ ready: function (event) { $(this).jPlayer("setMedia", { mp3:"music/Sing_For_The_Moment.mp3", }); }, swfPath: "jPlayer/Jplayer.swf", supplied: "mp3", wmode: "window" }); }); </script> </head> <body> <div id="jquery_jplayer_1"></div> 
  • I need to go with my hands, because I haven’t found anything like this in the script ( - Max Dumchikov

1 answer 1

I once had a snag in swfPath, look at this line, for example. jplayer.swf and jPlayer.swf can be two different things.

  • everything seems ok (I added the panel with my hands, but it seems to me that the script itself should create it) - Max Dumchikov
  • it should, otherwise it’s good that the code you brought is good, but the player is such a thing that it’s difficult to help without a server part, in the extreme case, the player should have documentation and FAQ as far as I can remember. - delphoman