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

Unified Diff: media/test/data/player.html

Issue 388643002: Rotation into Video Layer + Content Transform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed android webmediaplayer Created 6 years, 4 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
« no previous file with comments | « content/renderer/media/webmediaplayer_ms.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/test/data/player.html
diff --git a/media/test/data/player.html b/media/test/data/player.html
index e954cf8e938d53707a9df3b71a9db74433f010a9..fa50d731e1a3610e1f9db825f5cb6f104bb072df 100644
--- a/media/test/data/player.html
+++ b/media/test/data/player.html
@@ -61,6 +61,10 @@ function RunTest() {
player.controls = true;
document.getElementById('player_container').appendChild(player);
+ player.addEventListener('loadedmetadata', function(e) {
+ document.title = '' + player.videoWidth + ' ' + player.videoHeight;
+ });
+
// Transition to the seek test after X seconds of playback or when the ended
// event occurs, whichever happens first.
player.addEventListener('ended', SeekTestStep, false);
« no previous file with comments | « content/renderer/media/webmediaplayer_ms.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698