Home | History | Annotate | Download | only in loopback_test

Lines Matching refs:element

110   // Attach a media stream to an element.
111 attachMediaStream = function(element, stream) {
113 element.mozSrcObject = stream;
114 element.play();
193 // Attach a media stream to an element.
194 attachMediaStream = function(element, stream) {
195 if (typeof element.srcObject !== 'undefined') {
196 element.srcObject = stream;
197 } else if (typeof element.mozSrcObject !== 'undefined') {
198 element.mozSrcObject = stream;
199 } else if (typeof element.src !== 'undefined') {
200 element.src = URL.createObjectURL(stream);
202 console.log('Error attaching stream to element.');