forked from ionic-team/ionic-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvideo.html
More file actions
46 lines (37 loc) · 1.36 KB
/
video.html
File metadata and controls
46 lines (37 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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 <video /> 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>