Project

General

Profile

Feature #239 » mp4.html

jwplayer that should place the mp4 stream, but doesn't - Hammel, 25 Oct 2013 16:44

 
1
<html>
2
<head>
3
    <script type="text/javascript" src="/jwplayer/jwplayer.js"></script>
4
</head>
5
<body>
6

    
7
	<video id="myVideo" width="320" height="240" controls>
8
		<source src="http://feynman:8090/webcam.mp4" type="video/mp4"> 
9
	</video>
10

    
11
	<script type="text/javascript">
12
  		jwplayer("myVideo").setup({
13
			file: "http://feynman:8090/webcam.mp4",
14
    		modes: [
15
        		{ type: 'html5', src: '/jwplayer/jwplayer.html5.js' },
16
    		]
17
  		});
18
	</script>
19

    
20
</body>
21
</html>
(4-4/12)