CodeIgniter Forums
A video Player Problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: A video Player Problem (/showthread.php?tid=54954)



A video Player Problem - El Forum - 10-03-2012

[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="&lt;?Php echo base_url()?&gt;videoplayer/video.js"></$cript>
&lt;/head&gt;
&lt;body&gt;
&lt;video id=home_video class="video-js vjs-default-skin" controls preload=none width=640 height=264
            poster="&lt;?Php echo base_url()?&gt;videoplayer/oceans-clip.jpg"&gt;
  <source src="&lt;?Php echo base_url()?&gt;videoplayer/jack.mp4" type='video/mp4'>
&lt;/video&gt;


&lt;/body&gt;
&lt;/html&gt;
Quote:No video with supported format.