[eluser]Shiju S S[/eluser]
I got this code from
Quote:http://videojs.com/
I implemented it in a view:
Code:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="<?Php echo base_url()?>videoplayer/video-js.css" rel="stylesheet">
<$cript src="<?Php echo base_url()?>videoplayer/video.js"></$cript>
</head>
<body>
<video id=home_video class="video-js vjs-default-skin" controls preload=none width=640 height=264
poster="<?Php echo base_url()?>videoplayer/oceans-clip.jpg">
<source src="<?Php echo base_url()?>videoplayer/jack.mp4" type='video/mp4'>
</video>
</body>
</html>
Quote:No video with supported format.