You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/10/10 17:51:47 UTC

spec commit: CB-3747 Add IAB test with a

Updated Branches:
  refs/heads/master 9fbd54d9d -> 3cfe78157


CB-3747 Add IAB test with a <video>


Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/3cfe7815
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/3cfe7815
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/3cfe7815

Branch: refs/heads/master
Commit: 3cfe78157b3e60bdd59af1c38fe441cadd3ff393
Parents: 9fbd54d
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Oct 10 11:51:24 2013 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Oct 10 11:51:24 2013 -0400

----------------------------------------------------------------------
 inappbrowser/index.html |  2 ++
 inappbrowser/video.html | 42 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/3cfe7815/inappbrowser/index.html
----------------------------------------------------------------------
diff --git a/inappbrowser/index.html b/inappbrowser/index.html
index 89c6f34..3ef1247 100644
--- a/inappbrowser/index.html
+++ b/inappbrowser/index.html
@@ -256,6 +256,8 @@
     <h1>Clearing Cache</h1>
     <div class="btn large" onclick="doOpen('http://www.google.com', '_blank', 'clearcache=yes');">Clear Browser Cache</div>
     <div class="btn large" onclick="doOpen('http://www.google.com', '_blank', 'clearsessioncache=yes');">Clear Session Cache</div>
+    <h1>Video tag</h1>
+    <div class="btn large" onclick="doOpen('video.html', '_blank');">remote video</div>
     <h2> </h2><div class="backBtn" onclick="backHome();">Back</div>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/3cfe7815/inappbrowser/video.html
----------------------------------------------------------------------
diff --git a/inappbrowser/video.html b/inappbrowser/video.html
new file mode 100644
index 0000000..64ea3d1
--- /dev/null
+++ b/inappbrowser/video.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+
+
+<html>
+  <head>
+    <meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,maximum-scale=1.0,initial-scale=1.0" />
+    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
+    <title>Cordova Mobile Spec</title>
+
+  </head>
+  <body>
+    <video width=100% height=100% id="player">
+      <source src="http://m.comptoir-info.com/app/beta/sample.mp4">
+      <meta property="og:video:secure_url" content="http://m.comptoir-info.com/app/beta/sample.mp4">
+      <meta property="og:video:type" content="video/mp4">
+    </video>
+    <div>
+      <button onclick="document.getElementById('player').play()"> play </button>
+      <button onclick="document.getElementById('player').pause()"> pause </button>
+    </div>
+  </body>
+</html>