ForumCała strona

Nawigacja

Aktualnie online

Gości online: 12

Użytkowników online: 0

Łącznie użytkowników: 25,405
Najnowszy użytkownik: kipolas

Logowanie

Nazwa użytkownika

Hasło



Zarejestruj się

Odzyskaj hasło

Shoutbox

Musisz zalogować się, aby móc dodać wiadomość.

Zbigniew@
18.10.2025 19:31:20
Forum nie dziala nawet bez polskich znakow.

JazOOn
16.10.2025 18:21:12
nie dziala z polskimi znakami

Zbigniew@
12.10.2025 15:20:31
Tylko dla wybranych.

JazOOn
06.10.2025 21:00:15
czy shout dziala?

hoopak
02.10.2025 10:33:17
Bleeeeee Cool

Pobierz now? wersj?
Pobierz podr?cznik
Zobacz inne oficjalne Supporty
Statystyki supportu
PHP-Fuson PL na Facebooku

RSS

Polecamy hosting SferaHost.pl

Zobacz temat

 Drukuj temat
Muzyka na stronie g?ównej-> problem
zaro
Na angielskiej stronie php-fusion znalaz?em takie co?:

To stream MP3's on a page you will need to have an MP3 player like WinAmp, Windows Media Player, or Real Audio Player. The MP3 will stream as it loads on the page and will allow for longer larger sound files to be played.

1. Save your MP3 file to the same directory where you will be playing the sound from, or a sound directory which you know the URL for already,

2. Open up a notepad by clicking Start => Programs => Accessories => Notepad

3. Type in only the exact Address or URL of your MP3 file.

Type it in as simple as this:
http://www.domain.../music.mp3

where the domain is your domain, the sound folder is where you placed your MP3, and the music.mp3 is your mp3 file.

Save this file as music.m3u . Upload this file into the directory where you will place your sound.

4. Open your page up in an editor such as Notepad that will allow you to edit the code on the page.

5. Insert the following code into the HTML code of your page for a clickable link to stream by using this:

Clickable player and doawnload this file by right clicking it and save to yur directory:

<a href="music.m3u"><img border="0" src= "mp3.gif" width="41" height="25"></a>

Or you can embed with this:

<EMBED src="music.m3u" autostart=true hidden=true>

Or you can embed for both IE and Netscape with this:

<!This code for IE>
<EMBED SRC="http://yourdomian.com/sound/music.m3u" HIDDEN="true" AUTOSTART="true" width="128" height="128">
<!This code for Netscape>
<OBJECT ID="MediaPlayer"
classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"
standby="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject" width="239" height="179">

<PARAM NAME="FileName" VALUE="http://server/path/your-file.asx">
<PARAM NAME="AnimationatStart" VALUE="false">
<PARAM NAME="TransparentatStart" VALUE="true">
<PARAM NAME="AutoStart" VALUE="true">
<PARAM NAME="ShowControls" VALUE="0">

<Embed TYPE="application/x-mplayer2"
pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"
SRC="http://Yourdomain.com/sound/music.m3u"
Name=MediaPlayer
ShowControls=0
Width=2
Height=2
</embed>
</OBJECT>

Kiedy wszystko zrobi? pojawia mi si? co? takiego:
Parse error: parse error, expecting `','' or `';'' in /home/www/klon.mybesthost.com/fusion_admin/panel_editor.php(110) : eval()'d code on line 3

Wie mo?e kto? co jest przyczyn? problemu ?? Sad

// Dobra poradzilem sobie juz z tym Grin

// No to fajnie Smile Po prostu literówka ma?a - zamykam Cool
Edytowane przez Dytryk_z_Bern dnia 21.12.2004 18:30:36
 
W?cibski Go??
Dodany dnia 24.10.2025 01:50:36
Pan Kontekstualny

Postów: n^x
Data rejestracji: Zawsze

Polecamy hosting SferaHost.pl
IP: localhost  
Przejdź do forum:
Created by Arox Copyright (C) 2004
Copyright (C) 2004 - 2018 Ekipa PHP-Fusion.pl