1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
>
<
meta
http-equiv
=
"Content-Type"
content
=
"text/html; charset=gb2312"
/>
<
title
> New Document </
title
>
</
head
>
<
body
>
<
object
id
=
"MediaPlayer"
height
=
"280"
width
=
"400"
classid
=
"CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
VIEWASTEXT>
</
object
>
<
SCRIPT
LANGUAGE
=
"JavaScript"
>
<!--
var wmp = document.getElementById('MediaPlayer');
var wmpc = wmp.controls;
wmp.URL = 'http://www.huanghengxu.com/Upload/MyLove.wma';
wmpc.play();
//-->
</
SCRIPT
>
</
body
>
</
html
>
|
转载于:https://www.cnblogs.com/alsodzy/p/3490824.html