WASdev / lib.rtcomm.clientjs

Rtcomm client Javascript libraries (includes WebRTC support)
Apache License 2.0
15 stars 8 forks source link

WebRTC Samples: The autoplay and muted attribute values are incorrect in the video tag in the sample html files #82

Open swgraham opened 8 years ago

swgraham commented 8 years ago

Problem: The autoplay and muted attribute values are incorrect in the video tag in the WebRTC sample html files which causes warnings in the Eclipse/WDT tooling. The sample html files contain the following code:

 <video title="selfView" poster='resources/video_camera.png' id="selfView" class="selfView" autoplay="true" muted="true"></video>
 <video title="remoteView" poster='resources/video_camera_big.png' id="remoteView" class="remoteView" autoplay="true"></video>

The autoplay attributes should be either autoplay="autoplay" or autoplay.

 <video title="selfView" poster='resources/video_camera.png' id="selfView" class="selfView" muted autoplay="autoplay" ></video>
 <video title="remoteView" poster='resources/video_camera_big.png' id="remoteView" class="remoteView" autoplay ></video>