Bonjour,

Sur une page html, j'affiche deux lecteurs vlc l'un à côté de l'autre.

J'ai essayé de mettre un bouton en dessous de chaque lecteur mais les lecteurs se décalent pour venir un au dessus de l'autre.

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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
 
<!DOCTYPE html>
<html>
<head>
<title>Viewer Caméra H264</title>
 
<script language="JavaScript"> 
function getVLC(name)
{
    if (window.document[name])
    {
        return window.document[name];
    }
    if (navigator.appName.indexOf("Microsoft Internet")==-1)
    {
        if (document.embeds && document.embeds[name])
            return document.embeds[name];
    }
    else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
    {
        return document.getElementById(name);
    }
}
 
var vlc = getVLC("vlc");
</script>
 
<BODY  BACKGROUND="0102.jpg" marginwidth="50" marginheight="50" topmargin="50" leftmargin="center">
<br>
<br>
<br>
<br>
<center><object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" width="700" height="400" id="vlc" events="True"></center>
  <param name="MRL" value="rtsp://192.168.1.107:80/user=&password=&channel=1&stream=0.sdp?real_stream" />
  <param name="ShowDisplay" value="True" />
  <param name="AutoLoop" value="False" />
  <param name="AutoPlay" value="False" />
  <param name="Volume" value="50" />
  <param name="toolbar" value="true" />
  <param name="StartTime" value="0" />
 
<EMBED pluginspage="http://www.videolan.org"
    type="application/x-vlc-plugin"
    version="VideoLAN.VLCPlugin.2"
    width="700"
    height="400"
    toolbar="true"
    loop="false"
    text="Waiting for video"
    name="vlc">
</EMBED> 
</object>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
<BODY marginwidth="50" marginheight="50" topmargin="50" leftmargin="480">
    <object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" width="700" height="400" id="vlc" events="True">
  <param name="MRL" value="rtsp://192.168.1.109:80/user=&password=&channel=1&stream=0.sdp?real_stream" />
  <param name="ShowDisplay" value="True" />
  <param name="AutoLoop" value="False" />
  <param name="AutoPlay" value="False" />
  <param name="Volume" value="50" />
  <param name="toolbar" value="true" />
  <param name="StartTime" value="0" />
  <EMBED pluginspage="http://www.videolan.org"
    type="application/x-vlc-plugin"
    version="VideoLAN.VLCPlugin.2"
    width="700"
    height="400"
    toolbar="true"
    loop="false"
    text="Waiting for video"
    name="vlc">
  </EMBED>
</object>
 
  </BODY>
</html>
Merci au cas ou il y aurait une solution.

@+,

cincap