Ik heb inmiddels de media encoder werkend. Tenminste: als ik die opstart moet ik eerst allerlei dingen invullen als : naam, titel, poort etc... Dan op start drukken en dan kan ik vanaf een andere plaats met media player de url openen en de webcam kijken. Maar ik wil graag dat ik via een webpagina de cam kan bekijken. Nu heb ik op it board wel een scriptje gezien maar die praat over /bestand_van_encoder.vwm/ oid. Ik heb geen bestand oid. Hoe kan ik toch de cam op een website plaatsen? Dus door een verwijzing naar de url van de cam en media player laten starten...
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
44
45
46
47
48
49
50
51
52
| <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"">"
document.write "<PARAM NAME=""url"" VALUE=""http://150184.dynip.com:8080"">"
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....r/en/nsmp2inf.cab#Version=6,4,5,715"
document.write " standby=""Loading Microsoft Windows Media Player components..."" "
document.write " TYPE=""application/x-oleobject"">"
document.write "<PARAM NAME=""FileName"" VALUE=""http://150184.dynip.com:8080"">"
document.write "<PARAM NAME=""AutoStart"" VALUE=""true"">"
document.write "<PARAM NAME=""ShowControls"" VALUE=""1"">"
document.write "</OBJECT>"
End If
-->
</script>
<div align="center"></div>
<!-- #EndEditable --></div>
</td>
<td CLASS="tabel_bg_jpg" align="center" valign="middle" background="../beelden/RK.jpg"> </td>
</tr>
<tr>
<td> </td>
<td background="../beelden/OK.jpg" ALIGN="CENTER" VALIGN="TOP">
<table border="0" cellspacing="0" cellpadding="0" align="CENTER">
<tr>
<td> </td>
<td> </td>
<td><!-- #BeginEditable "next" --><!-- #EndEditable --></td>
</tr>
</table>
</td>
<td ALIGN="CENTER" VALIGN="TOP" width="31"> </td>
</tr>
</table> |
Altublieft, werkt alleen met IE.
Deze heb ik toevallig zelf een keer gebruikt.
Maar het is niet de bedoeling om op GoT om scripts te vragen eigenlijk, deze moet je zelf maken en als je hier problemen mee heb dan kan je vragen erover stellen.
Scriptrequest, en het hoort niet in I&T.
"Anyone who does not agree with me is mentally sick, and should be shot I'm afraid to say."
- Pastor Richards @ VCPR
Dit topic is gesloten.
![]()