Skip to content

Commit

Permalink
Replace occurences in test code of attachVideo by attachMediaElement
Browse files Browse the repository at this point in the history
  • Loading branch information
tchakabam committed Nov 10, 2015
1 parent f7aa8ad commit 31e037c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/functional/auto-daily/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h2 class="title">Video OK</h2><div id="successVideo"></div>
}
hls = new Hls({debug:true, maxBufferLength : 60, maxBufferSize:100*1024*1024});
hls.loadSource(url);
hls.attachVideo(video);
hls.attachMediaElement(video);
window.setTimeout(testfunction,4000);
hls.on(hls.Events.FRAG_BUFFERED,function(event,data) {
if(video.paused)
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/multiple/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
hls2.loadSource("http://www.streambox.fr/playlists/x31jrg1/x31jrg1.m3u8");
});

hls1.attachVideo(video1);
hls2.attachVideo(video2);
hls1.attachMediaElement(video1);
hls2.attachMediaElement(video2);
}
};
</script>
Expand Down

0 comments on commit 31e037c

Please sign in to comment.