I am putting a video using html5 and codeigniter on my page, but it is only displaying the player without displaying the video.
script:
<video width="420" height="340" autoplay controls>
<source src="<?php echo base_url('assets/videos/teste.mp4'); ?>" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
<p>Desculpe o transtorno, mas seu navegador não pode exibir o vídeo.</p>
</video>
I also created a .htaccess with the following content in the folder where the video with the following content is located:
AddType video/mp4 .mp4