Home
last modified time | relevance | path

Searched refs:videoElement (Results 1 – 4 of 4) sorted by relevance

/external/autotest/client/site_tests/video_YouTubePage/files/
Dvideo_YouTubePageCommon.js6 var videoElement = document.querySelector('#movie_player video');
12 if (videoElement instanceof HTMLMediaElement) {
25 videoElement.addEventListener('playing', logEventHappened);
26 videoElement.addEventListener('seeking', logEventHappened);
27 videoElement.addEventListener('seeked', logEventHappened);
28 videoElement.addEventListener('ended', logEventHappened);
29 videoElement.addEventListener('timeupdate', logTimeUpdate);
30 videoElement.addEventListener('error', onError);
31 videoElement.addEventListener('abort', onError);
52 videoElement.play();
[all …]
/external/autotest/client/site_tests/video_WebRtcMainFeedSwitching/
Dmain-feed-switching.js38 const videoElement = document.createElement('video');
39 videoElement.autoplay = true;
40 $('body').appendChild(videoElement);
43 setSize(videoElement, MAIN_FEED_RESOLUTION);
44 this.mainFeed = videoElement;
46 setSize(videoElement, SMALL_FEED_RESOLUTION);
47 this.videoElements.push(videoElement);
50 videoElement, [MAIN_FEED_RESOLUTION], cpuOveruseDetection));
/external/autotest/client/site_tests/video_WebRtcResolutionSwitching/
Dresolution-switching.js40 const videoElement = document.createElement('video');
41 videoElement.autoplay = true;
42 $('body').appendChild(videoElement);
43 this.videoElements.push(videoElement);
45 new PeerConnection(videoElement, RESOLUTIONS, cpuOveruseDetection));
/external/autotest/client/common_lib/cros/webrtc_scripts/
Dloopback-peerconnection.js22 constructor(videoElement, resolutions, cpuOveruseDetection=null) { argument
25 this.remoteView = videoElement;