![]() |
Video Playback issues - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Video Playback issues (/showthread.php?tid=63585) |
Video Playback issues - manny - 11-16-2015 How can I play a video using the `<video>` tag from a CodeIgniter application? Code: <video controls = "true" autoplay style="width:100%"> 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: Here is some (relevant?) information from my `vhost` : Code: RewriteEngine On RE: Video Playback issues - InsiteFX - 11-16-2015 PHP Code: <source type ="video/mp4" src="<?=base_url('/assets/media/12/upper.mp4')?>"> RE: Video Playback issues - manny - 11-17-2015 (11-16-2015, 02:27 PM)InsiteFX Wrote: Yes, even with single quotes, I'm still getting a 403 forbidden. RE: Video Playback issues - InsiteFX - 11-18-2015 check your change mod chmod on your server folder see if you have read / write access to that folder. RE: Video Playback issues - manny - 11-18-2015 Permissions are as they should be, CSS/JS files are served from this directory no issue. I'm suspecting there is something in the vhost RE: Video Playback issues - manny - 11-23-2015 Resolved. Freaking path. What I thought was the file name was actually a directory name. Derp. Also, why cant i see my own threads without going to my control panel? |