Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 

Sign in to follow this  

WinXP Active Desktop HTML Media Player

Recommended Posts

Hi folks,

after my brain got soup, by re-arrangeing code snippets for days, i could need a little help with that:

1) Important: Select ID needs a Reset to his Option Title, when using a File by input type... ???

2) Important: Can i shrink the code by using variables for param name ? and how to do that...

    Cause now the function changes the whole player every time...

3) Less Important: The Input Type File Search Button.... - how to change text and style ? 

4) Optional: Could need a second hidden wmp window (without controlls) under the controlls, which popups only when a avi/mpeg file type is loaded...


P.S.: need to be loaded by mshta.exe [or as background pic] (chrome and opera dont run the wmp part of it, only an old firefox with wmp plugin did the job too...)


P.S.II: there are different ClassID´s of WMP outside, seems it belongs to the installed Version, which one works well (with the CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' i used before, the Statusbar dont show up....


Now it looks like this: (the violett 1px space is the destop,) 



thx for your help

<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html><html>	<head>		<style type='text/css'><!--body {background-color:transparent; overflow:hidden; margin:0px; border:0px; padding:0px;}--></style>		<title></title>	</head>	<body>		<img src='Fraud.jpg' width='100%' height='100%' align='middle' alt='Bilddatei fehlt' />		<script type='text/javascript'>			<!--			function song( aid ) {			document.getElementById('MPPosition') .innerHTML="<object classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' style='width:300; height:48px;'><param name='fileName' value='"+document.getElementById( aid ).value+"'><param name='ShowStatusBar' value='true'>"			}			//-->		</script>		<div>			<select id='optionfaenger' onchange='song( this.id )' style='color:#9bf; background-color:#000; border:0px; width:300px; position:absolute; top:1px; right:0%;'>				<option title='leer'> :::::::::::::choose your songhere::::::::::::: </option>				<option value='Data_2.avi'> Video </option>				<option value='install.m3u'> Install.m3u Local </option>				<option value='c:/_windows/resources/themes/docs/install.m3u'> FF7 Prelude </option>				<option value='greska.mp3'> Mp3 </option>				<option value='http://urltosong1playlist.m3u'> Link </option>			</select>		</div>		<div>			<input type='file' id='dateifaenger' onchange='song( this.id )' style='color:#9bf; background-color:#000; width:300px; position:absolute; top:24px; right:0%; margin:0px; border:0px; padding:0px;' />		</div>		<div id='MPPosition' style='position:absolute; top:41px; right:0%;'>			<object classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' style='width:300; height:48px;'>				<param name='fileName' value='c:/_windows/resources/themes/docs/install.m3u'>				<param name='ShowStatusBar' value='true'>			</object>		</div>	</body></html>
Edited by R4D3

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...