Skip to content

Commit

Permalink
video test
Browse files Browse the repository at this point in the history
  • Loading branch information
mlynch committed Dec 6, 2015
1 parent eecf43f commit c3359ca
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions test/html/video.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

<!DOCTYPE html>
<html ng-app="navTest">
<head>
<meta charset="utf-8">
<title>Content</title>

<!-- Sets initial viewport load and disables zooming -->
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="stylesheet" href="../../../../dist/css/ionic.css">

<script src="../../../../dist/js/ionic.bundle.js"></script>
</head>
<body>
<ion-pane>
<ion-header-bar id="header" class="bar-positive">
<h1 class="title">Video Test</h1>
</ion-header-bar>

<ion-content id="container">
<h1>Test for &lt;video /&gt; native controls.</h1>
<h2>Confirmed by the behavior of the browser Internet Explorer 11.</h2>

<p>default: (working)</p>
<video id="without" controls="controls">
<source src="http://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4" />
</video>

<p>with stopPropagation on mousedown: (working)</p>
<video id="with-propagation" controls="controls">
<source src="http://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4" />
</video>

<p>with preventDefault on mousedown: (<strong>doesn't working</strong>)</p>
<video id="with-prevent" controls="controls">
<source src="http://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4" />
</video>

</ion-content>
</ion-pane>

<script>
angular.module('navTest', ['ionic'])
</script>
</body>
</html>

0 comments on commit c3359ca

Please sign in to comment.