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

Unified Diff: data/media/youtube_Avril.html

Issue 8764007: Adding Youtube dropped frames performance measurement for different types of videos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/test/
Patch Set: '' Created 9 years, 1 month 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
« no previous file with comments | « no previous file | data/media/youtube_Bourne.html » ('j') | functional/youtube.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: data/media/youtube_Avril.html
===================================================================
--- data/media/youtube_Avril.html (revision 0)
+++ data/media/youtube_Avril.html (revision 0)
@@ -0,0 +1,27 @@
+<!-- This is a test html file for Youtube video tests -->
Nirnimesh 2011/12/01 00:03:14 The only difference between this and youtube.html
+<html>
+<script type="text/javascript" src="swfobject.js"></script>
+<div id="ytapiplayer">
+You need Flash player 8+ and JavaScript enabled to view this video.
+</div>
+
+<script type="text/javascript">
+function onYouTubePlayerReady(playerId) {
+ ytplayer = document.getElementById("myytplayer");
+ console.log("player ready to play");
+ document.getElementById('player_status').innerHTML = 'player ready';
+}
+function loadPlayer() {
+ var params = { allowScriptAccess: "always" };
+ var atts = { id: "myytplayer" };
+ swfobject.embedSWF(
+ "http://www.youtube.com/e/VT1-sitWRtY?enablejsapi=1&playerapiid=ytplayer",
+ "ytapiplayer", "800", "600", "8", null, null, params, atts);
+}
+</script>
+
+<body onload="loadPlayer()">
+<div id=player_status>Not Ready</div>
+Youtube flash test</body>
+
+</html>
« no previous file with comments | « no previous file | data/media/youtube_Bourne.html » ('j') | functional/youtube.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698