Welcome Guest, Not a member yet? Register   Sign In
Video Playback issues
#1

How can I play a video using the `<video>` tag from a CodeIgniter application? 
    
Code:
    <video controls = "true" autoplay style="width:100%">
        <source type ="video/mp4" src="<?=base_url("/assets/media/12/upper.mp4")?>">
    </video>
   

Full path of video:

      var/www/html/project_name/application/www/assets/media

Apache gives me a forbidden, despite css/js serving from this directory with no issues. I've set the `.htaccess` in the `www` directory to `allow all` temporarily, and the issues persists.  

Here is the exact entry from `error_log`(httpd):
      
Code:
    Directory index forbidden by Options directive:     
    /var/www/html/records_v2/www/media/12/upper.mp4/, referer:   
      https://dev.site.com/controller/method


Here is some (relevant?) information from my `vhost` :

Code:
                        RewriteEngine On
                        RewriteBase /
                        RewriteCond %{REQUEST_FILENAME} -s [OR]
                        RewriteCond %{REQUEST_FILENAME} -l [OR]
                        RewriteCond %{REQUEST_FILENAME} -d
                        RewriteRule ^.*$ - [NC,L]
                        RewriteRule ^.*$ index.php [NC,L]


                        Options FollowSymLinks
                        AllowOverride none
                        Order deny,allow
                        deny from all
                        allow from xx.xx.xx.xx #my IP here
Reply


Messages In This Thread
Video Playback issues - by manny - 11-16-2015, 08:50 AM
RE: Video Playback issues - by InsiteFX - 11-16-2015, 02:27 PM
RE: Video Playback issues - by manny - 11-17-2015, 06:42 AM
RE: Video Playback issues - by InsiteFX - 11-18-2015, 04:12 AM
RE: Video Playback issues - by manny - 11-18-2015, 06:32 AM
RE: Video Playback issues - by manny - 11-23-2015, 11:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB