Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4883)

Unified Diff: chrome/test/data/android/media/simple_video.html

Issue 2400543002: [Cast, Tests] Handle low end and JB devices that don't preload videos (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/android/media/simple_video.html
diff --git a/chrome/test/data/android/media/simple_video.html b/chrome/test/data/android/media/simple_video.html
index 7349f524db54cec23630995001557ca430beaa30..165823107153de629fbb1529ddc7d49447adb7d9 100644
--- a/chrome/test/data/android/media/simple_video.html
+++ b/chrome/test/data/android/media/simple_video.html
@@ -4,5 +4,12 @@
<!-- Width should be large enough to dispaly all media controls without needing
an overflow menu. -->
<video src="test.webm" controls id="video" width=500></video>
+<script>
+function loadvideo() {
+ var video = document.getElementById('video');
+ video.load();
+}
+</script>
+<button id="button1" onclick="loadvideo()">Click me</button>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698