SA-MP Forums

Go Back   SA-MP Forums > Other > Everything and Nothing

Reply
 
Thread Tools Display Modes
Old 28/02/2009, 08:47 PM   #1
LibertyWorld
Huge Clucker
 
Join Date: Dec 2008
Posts: 232
Reputation: 0
Default HTML (how to make a link open WMP)

How to make a link open windows media player, whitout asking to open or save?

Thanks
LibertyWorld is offline   Reply With Quote
Old 28/02/2009, 09:46 PM   #2
brett7
Gangsta
 
brett7's Avatar
 
Join Date: Nov 2007
Location: samp is #1
Posts: 669
Reputation: 14
Default Re: HTML (how to make a link open WMP)

you can't, can you imagine if you could run a file on someones computer without them authing it
brett7 is offline   Reply With Quote
Old 28/02/2009, 09:48 PM   #3
mamorunl
High-roller
 
mamorunl's Avatar
 
Join Date: Feb 2007
Location: Groningen/Netherlands
Posts: 1,938
Reputation: 2246
Default Re: HTML (how to make a link open WMP)

you could implement it in your website. Through an EMBED (I think)

example: www.arrow.nl/services/onlineradio_rock.php RightMouseButton on the page and click show source
mamorunl is offline   Reply With Quote
Old 01/03/2009, 02:56 AM   #4
Norn
High-roller
 
Norn's Avatar
 
Join Date: Jul 2008
Location: Northern Ireland
Posts: 2,265
Reputation: 206
Default Re: HTML (how to make a link open WMP)

Code:
 	<OBJECT id="mediaplayer" height="50" width="271" type="application/x-oleobject">

		<param name="URL" VALUE="SHOUTCASTURL/FILE">
		<param name="autostart" VALUE="-1">
		<param name="enabled" VALUE="1">
		<param name="enablecontextmenu" VALUE="0">
		<param name="showpositioncontrols" VALUE="0">
		<param name="ShowControls" value="0">
		<param name="showtracker" VALUE="0">

		<param name="ShowGotoBar" value="0">
		<param name="ShowPositionControls" value="false">
		<param name="ShowStatusBar" value="1">
		<param name="ShowDisplay" VALUE="false">

 		<embed name="mediaplayer" id="mediaplayer" type="application/x-mplayer2" width="271" height="50" src="SHOUTCASTURL/FILE" pluginspage="http://www.microsoft.com/Windows/Dow.../MediaPlayer/" autostart="true" ShowDisplay="false" enabled="1" enablecontextmenu="false" showpositioncontrols="false" showtracker="false" showstatusbar="1" />
 		</embed>
	 </OBJECT>
__________________
Pursuing other endeavours.

Skype: datinvictusguy
Norn is offline   Reply With Quote
Old 01/03/2009, 11:07 AM   #5
LibertyWorld
Huge Clucker
 
Join Date: Dec 2008
Posts: 232
Reputation: 0
Default Re: HTML (how to make a link open WMP)

Quote:
Originally Posted by Norn
Code:
 	<OBJECT id="mediaplayer" height="50" width="271" type="application/x-oleobject">

		<param name="URL" VALUE="SHOUTCASTURL/FILE">
		<param name="autostart" VALUE="-1">
		<param name="enabled" VALUE="1">
		<param name="enablecontextmenu" VALUE="0">
		<param name="showpositioncontrols" VALUE="0">
		<param name="ShowControls" value="0">
		<param name="showtracker" VALUE="0">

		<param name="ShowGotoBar" value="0">
		<param name="ShowPositionControls" value="false">
		<param name="ShowStatusBar" value="1">
		<param name="ShowDisplay" VALUE="false">

 		<embed name="mediaplayer" id="mediaplayer" type="application/x-mplayer2" width="271" height="50" src="SHOUTCASTURL/FILE" pluginspage="http://www.microsoft.com/Windows/Dow.../MediaPlayer/" autostart="true" ShowDisplay="false" enabled="1" enablecontextmenu="false" showpositioncontrols="false" showtracker="false" showstatusbar="1" />
 		</embed>
	 </OBJECT>
Thanks, but i want it to open it on the person computer not in the browser.
So its supposed to open a WMP window
LibertyWorld is offline   Reply With Quote
Old 01/03/2009, 02:19 PM   #6
Norn
High-roller
 
Norn's Avatar
 
Join Date: Jul 2008
Location: Northern Ireland
Posts: 2,265
Reputation: 206
Default Re: HTML (how to make a link open WMP)

Quote:
Originally Posted by plɹoʍ ʎʇɹǝqıl
Quote:
Originally Posted by Norn
Code:
 	<OBJECT id="mediaplayer" height="50" width="271" type="application/x-oleobject">

		<param name="URL" VALUE="SHOUTCASTURL/FILE">
		<param name="autostart" VALUE="-1">
		<param name="enabled" VALUE="1">
		<param name="enablecontextmenu" VALUE="0">
		<param name="showpositioncontrols" VALUE="0">
		<param name="ShowControls" value="0">
		<param name="showtracker" VALUE="0">

		<param name="ShowGotoBar" value="0">
		<param name="ShowPositionControls" value="false">
		<param name="ShowStatusBar" value="1">
		<param name="ShowDisplay" VALUE="false">

 		<embed name="mediaplayer" id="mediaplayer" type="application/x-mplayer2" width="271" height="50" src="SHOUTCASTURL/FILE" pluginspage="http://www.microsoft.com/Windows/Dow.../MediaPlayer/" autostart="true" ShowDisplay="false" enabled="1" enablecontextmenu="false" showpositioncontrols="false" showtracker="false" showstatusbar="1" />
 		</embed>
	 </OBJECT>
Thanks, but i want it to open it on the person computer not in the browser.
So its supposed to open a WMP window
I know that, but you cant just open a file on someones computer as stated before.
__________________
Pursuing other endeavours.

Skype: datinvictusguy
Norn is offline   Reply With Quote
Old 01/03/2009, 02:41 PM   #7
boylett
Huge Clucker
 
Join Date: Jul 2006
Posts: 441
Reputation: 0
Default Re: HTML (how to make a link open WMP)

if u link to a file from a page, and the file has the mime-type "application/x-mplayer2", it will open outside of the browser.
boylett is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make gate open/close for certain time? hardstop Help Archive 1 02/02/2010 02:27 PM
How to make a clickable Link GangMember211 Help Archive 3 29/01/2010 07:19 PM
How to make gates ? + they open and close Nakki Help Archive 9 06/01/2010 02:16 PM
How to make gate wich just one player can open? buonggiorno Help Archive 3 13/11/2009 08:42 PM
Gates, make them open only on family members Tisca Help Archive 3 03/10/2009 03:42 PM


All times are GMT. The time now is 08:55 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.