Lines Matching refs:element
11 console.log('Playing element: ' + mediaElements[i].src);
16 function play(element) {
17 if (element instanceof HTMLMediaElement)
18 playHTML5Element(element);
23 function playHTML5Element(element) {
24 window.__registerHTML5ErrorEvents(element);
25 window.__registerHTML5EventCompleted(element, 'playing');
26 window.__registerHTML5EventCompleted(element, 'ended');
30 element.dispatchEvent(willPlayEvent);
31 element.play();