Bonjour à tous,
Je n'arrive pas à insérer un flux vidéo de ma cam Dlink DCS-3411 dans une page web.
J'ai essayé :
pas de vidéo
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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 <html> <SCRIPT LANGUAGE="JavaScript"> function Init() { cvcs.RemoteHost = "adresseIP_fixe" cvcs.RemoteWeb = 80 cvcs.RemotePort = 554 cvcs.Timeout = 5 cvcs.AuthType = 1 cvcs.PreviewFrameRate = 1 cvcs.PreviewWidth = 320 cvcs.PreviewHeight = 240 cvcs.DeviceSerialNo = "" window.setInterval("ShowFrameRate()", 1000) } function ShowFrameRate() { if (1) { var fFrameRate = cvcs.FrameRate window.status = "Frame:" + fFrameRate.toString() + " fps" } cvcs.Play() cvcs.GetRealTimeData() CurrentTime.innerHTML = cvcs.TimeString } </SCRIPT> < HEAD > < META HTTP-EQUIV="refresh" CONTENT="10" > < META HTTP-EQUIV="Pragma" CONTENT="no-cache" > < /HEAD > <BODY text=white onload="Init()" onunload="cvcs.Stop()"> <OBJECT ID="cvcs" WIDTH=320 HEIGHT=240 CLASSID="CLSID:31150A86-0BBA-409f-BEB4-F3922D10BF34" CODEBASE="xplug.ocx#version=2,0,0,0"> </OBJECT> </html>
Puis :
Toujours rien.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
53
54
55
56 <html> <SCRIPT LANGUAGE="JavaScript"> function Init() { cvcs.RemoteHost = "adresseIP_fixe" cvcs.RemoteWeb = 80 cvcs.RemotePort = 554 cvcs.Timeout = 5 cvcs.AuthType = 1 cvcs.PreviewFrameRate = 1 cvcs.PreviewWidth = 320 cvcs.PreviewHeight = 240 cvcs.DeviceSerialNo = "" window.setInterval("ShowFrameRate()", 1000) } function ShowFrameRate() { if (1) { var fFrameRate = cvcs.FrameRate window.status = "Frame:" + fFrameRate.toString() + " fps" } cvcs.Play() cvcs.GetRealTimeData() CurrentTime.innerHTML = cvcs.TimeString } </SCRIPT> <body> <object width="320" height="290" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" id="mediaplayer1"> <param name="Filename" value="rtsp://adresseIP_fixe/play2.sdp"> <param name="AutoStart" value="True"> <param name="ShowControls" value="False"> <param name="ShowStatusBar" value="True"> <param name="ShowDisplay" value="False"> <param name="AutoRewind" value="True"> <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/realPlayer/" width="320" height="290" src="rtsp://adresseIP_fixe/play2.sdp" filename="kids.mpg" autostart="True" showcontrols="True" showstatusbar="False" showdisplay="False" autorewind="True"> </embed> </object> </body> </html>
PS adresseIP_fixe corresppond à l'adresse de mon routeur externe. J'ai vérifié par le sorft d'admin de ma webcam. C'est OK de ce côté là
Merci pour vos conseils
Partager