Forums

This topic is locked

If some one can help me

Posted 05 Sep 2003 00:47:32
1
has voted
05 Sep 2003 00:47:32 Najeeb A posted:
Hi,
I am new user for the DMX. and I have to ask something if you people can help me I will be really thank full to you.
I am making some Music site for my company and I have a button which is actually a pic and I want it when a user clicks to that pic it should call real player to play the song for user and doesn't allow him to download the song.



I am new and really i will be thank full if you could answer me.





Capricorn

Replies

Replied 05 Sep 2003 01:55:09
05 Sep 2003 01:55:09 james crellin replied:
assuming that you have the audio file in the right format to call the real player, i would suggest that you disable right click on the webpage. I dont think that you can actually save the file from the real player player. I could be wrong though.
Either way, check out this page to get the disable right click code.

jsm.zynch.com/norightclick.html

<img src="www.imahosting.com/sigs/lgbrokenfly.gif" border=0>
<b>"I learn so I can help."</b> =- Saleblitz
Replied 13 Sep 2003 01:25:46
13 Sep 2003 01:25:46 Najeeb A replied:
Hi,
Thanks for giving me a code but still when the user clicks the plays button it goes to download the song. could you help me out with this. I would be really thank full to you..



Capricorn
Replied 14 Sep 2003 15:41:03
14 Sep 2003 15:41:03 james crellin replied:
can you post a link to a sample of what you are talking about?
I might be able to better work on a code to prevent the download of the song.

<img src="www.imahosting.com/sigs/lgbrokenfly.gif" border=0>
<b>"I learn so I can help."</b> =- Saleblitz
Replied 14 Sep 2003 21:55:45
14 Sep 2003 21:55:45 Najeeb A replied:
Hi,
Again thanks that u answerd me really I became happy I am sending a example of the page what I want. if you take look on the code I have got a image to play the song.
and I want that image to play the song. not to give download of the song to user. I have applied the same which you told me of right click but still when user click left on the play image a new window opens for the user to save the file.
I am sending you the code
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Untitled Document&lt;/title&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;table width="295" border="0" cellpadding="0" cellspacing="0"&gt;
&lt;!--DWLayoutTable--&gt;
&lt;tr&gt;
&lt;td width="295" height="413"&gt;&lt;table width="750" border="0"&gt;
&lt;tr&gt;
&lt;td width="255"&gt;Song No1 &lt;/td&gt;
&lt;td width="30"&gt;&lt;a href="file:///E|/Music/Indian/Ghazal/ANUP%20JALOTA%20(KASHISH)/BAS%20YEHI%20SOCH%20KE%20TUM%20SE.mp3"&gt;&lt;img src="file:///E|/Music/play.gif" width="16" height="16" border="0"&gt;&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Song No 2 &lt;/td&gt;
&lt;td&gt;&lt;a href="file:///E|/Music/Indian/Ghazal/ANUP%20JALOTA%20(KASHISH)/CHONK%20KAR%20NEENED%20SE%20UTHKAR.mp3"&gt;&lt;img src="file:///E|/Music/play.gif" width="16" height="16" border="0"&gt;&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Song No 3 &lt;/td&gt;
&lt;td&gt;&lt;a href="file:///E|/Music/Indian/Ghazal/ANUP%20JALOTA%20(KASHISH)/TUMHARE%20SHAHAR%20KA.mp3"&gt;&lt;img src="file:///E|/Music/play.gif" width="16" height="16" border="0"&gt;&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Song 4 &lt;/td&gt;
&lt;td&gt;&lt;a href="file:///E|/Music/Indian/Ghazal/ANUP%20JALOTA%20(KASHISH)/WOH%20MERA%20THA%20YE%20BATANA.mp3"&gt;&lt;img src="file:///E|/Music/play.gif" width="16" height="16" border="0"&gt;&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Song 5 &lt;/td&gt;
&lt;td&gt;&lt;a href="file:///E|/Music/Indian/Ghazal/ANUP%20JALOTA%20(KASHISH)/TUMHARE%20SHAHAR%20KA.mp3"&gt;&lt;img src="file:///E|/Music/play.gif" width="16" height="16" border="0"&gt;&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/body&gt;
&lt;/html&gt;

I would be really thank full to you if you help me out with this. I really want to make this web site done.

with thanks

najo

Capricorn

Reply to this topic