Autor Subiect: Cum instalez un Flash mp3 player?  (Citit de 793 ori)

0 Utilizatori şi 1 Vizitator pe acest subiect.

Deconectat emonbusiness

  • Newbie
  • *
  • Mesaje: 11
  • Popularitate: +0/-0
Cum instalez un Flash mp3 player?
« : Vineri 16 Iulie 2010, 15:32:50 »
Salutare,
Am si eu nevoie de un sfat cum sa instalez un Flash mp3 intr-un SMF 1.1.11.
Este vorba despre un flash player luat de aici: http://www.flashmp3player.org/demo_2.html.
Am urmat instructiunile lor de inserare a codurilor dar nu se intampla nimic.
Mai pe larg, ceea ce am facut:
1) Am creat un folder cu numele "player" in care am pus fisierele de la player;
2)  Am inserat in "index.template" dupa <head>
codul: <script language="javascript" type="text/javascript" src="player/swfobject.js" ></script>3) Am inserat si cea de-a doua parte de cod conform indicatiilor in sectiunea // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo '
  <div id="footer">
    <div id="footer-l">
<div id="footer-r">
          <div id="footerarea">
<span class="smalltext">', theme_copyright(), '
<br /><strong>Theme Extreme10</strong> &copy; 2009, by <a href="http://www.fussilet.com" target="_blank"> Fussilet</a>

<!-- Div that contains player. -->
<div id="player">
<h1>No flash player!</h1>
<p>It looks like you don't have flash player installed. <a href="http://www.macromedia.com/go/getflashplayer" >Click here</a> to go to Macromedia download page.</p>
</div>

<!-- Script that embeds player. -->
<script language="javascript" type="text/javascript">
var so = new SWFObject("player/flashmp3player.swf", "player", "300", "80", "9"); // Location of swf file. You can change player width and height here (using pixels or percents).
so.addParam("quality","high");
so.addVariable("content_path","mp3"); // Location of a folder with mp3 files (relative to php script).
so.addVariable("color_path","player/default.xml"); // Location of xml file with color settings.
so.addVariable("script_path","player/flashmp3player.php"); // Location of php script.
so.write("player");
</script>

                        </span>';
// Show the load time?

Rezultatul = nimic
Unde gresesc?
Multumiri anticipate!

SMF România

Cum instalez un Flash mp3 player?
« : Vineri 16 Iulie 2010, 15:32:50 »

Deconectat -=[Vyorel]=-

  • SMF Free Helper
  • Administrator
  • Hero Member
  • *****
  • Mesaje: 1.141
  • Popularitate: +51/-7
  • Gen: Bărbat
  • I LOVE SMF
    • Xerom Zone Community
  • SMF Version: SMF 2.0.2
Re: Cum instalez un Flash mp3 player?
« Răspunde #1 : Luni 19 Iulie 2010, 16:02:23 »
Insereaza codul in BoardIndex.template.php din tema pe care o folosesti.


Deconectat emonbusiness

  • Newbie
  • *
  • Mesaje: 11
  • Popularitate: +0/-0
Re: Cum instalez un Flash mp3 player?
« Răspunde #2 : Joi 22 Iulie 2010, 11:32:40 »
Multam fain. Am incercat varianta ta dar nu mi-a dat nici un rezultat. Asa ca am inceput sa o iau de la capat si pana la urma am gasit buba. Era vorba de locatia unde inserasem prima linie. Problema era ca nu trebuia pus imediat dupa <head> ci inainte de </head>. Acum merge. Multumesc oricum!