Moet dat dan in media player zelf of in het encoder programma?
En weet iemand misschien hoe ik een media player venstertje intergreer in een webpage? Ik kon alleen dit vinden:
code:
1
2
3
4
5
| <ASX version="3.0">
<Entry>
<ref HREF="mms://media.type.washington.edu/userid/yourfile.asf"/>
</Entry>
</ASX> |
Maar ik stream gewoon op een poort nummer, hey misschien is dat het wel dat ik naar een file moet encoden in m'n htdocs dir en die dan kan openen.
Hmz dat kan niet dan wordt die file oneinding groot.
Ik ga nu deze proberen:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
| <html>
<head>
<title>Embedding Windows Media Player</title>
</head>
<body>
<!-- Check Media Player Version -->
<SCRIPT LANGUAGE="VBScript">
<!--
On Error Resume Next
lngMP70 = IsObject(CreateObject("WMPlayer.OCX"))
' Windows Media Player 7 Code
If (lngMP70) Then
document.write "<OBJECT ID=MediaPlayer "
document.write " CLASSID=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"
document.write " standby=""Loading Microsoft Windows Media Player components..."" "
document.write " TYPE=""application/x-oleobject"" width=""286"" height=""225"">"
document.write "<PARAM NAME=""url"" VALUE=""http://ncnetshow/station1.asx"">"
document.write "<PARAM NAME=""AutoStart"" VALUE=""true"">"
document.write "<PARAM NAME=""ShowControls"" VALUE=""1"">"
document.write "<PARAM NAME=""uiMode"" VALUE=""mini"">"
document.write "</OBJECT>"
' Windows Media Player 6.4 Code
Else
document.write "<OBJECT ID=MediaPlayer "
document.write " CLASSID=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
document.write "CODEBASE=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"
document.write " standby=""Loading Microsoft Windows Media Player components..."" "
document.write " TYPE=""application/x-oleobject"" width=""286"" height=""225"">"
document.write "<PARAM NAME=""FileName"" VALUE=""http://ncnetshow/station1.asx"">"
document.write "<PARAM NAME=""AutoStart"" VALUE=""true"">"
document.write "<PARAM NAME=""ShowControls"" VALUE=""1"">"
document.write "</OBJECT>"
End If
-->
</SCRIPT>
</body> |
Plak het er maar in misschien dat iemand het ook kan gebruiken ofzo
[
Voor 78% gewijzigd door
Verwijderd op 31-01-2004 12:00
]