2
I’m putting a video using Html5 and codeigniter on my page, but is only showing 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 contents in the folder where the video is with the following contents:
AddType video/mp4 .mp4
Reply above @Away
– Silvio Andorinha
Not solved... the problem persists.
– Away