load->helper('url'); // Retrieve video information. $this->load->model('videos_model'); $data['video'] = $this->videos_model->get_video($id, $name); $data['plugin'] = ($plugin === NULL ? 'auto' : $plugin); // Display page. $params = array( 'title' => $data['video']['title'] . ' -- ' . $this->config->item('site_name'), 'stylesheets' => array('jquery-ui.css', 'NextSharePC-interface.css'), 'javascripts' => array('jquery.min.js', 'jquery-ui.min.js', 'NextSharePC-interface.js'), //'metas' => array('description'=>'','keywords'=>'') ); $this->load->library('html_head_params', $params); $this->load->view('html_begin', $this->html_head_params); $this->load->view('header'); $this->load->view('video/watch_view', $data); $this->load->view('footer'); $this->load->view('html_end'); } } /* End of file video.php */ /* Location: ./application/controllers/video.php */