0byt3m1n1
Path:
/
data
/
17
/
1
/
18
/
11
/
1670011
/
user
/
1801231
/
htdocs
/
marketting
/
system
/
plugins
/
[
Home
]
File: flv_player_pi.php
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | COPYRIGHT NOTICE | Copyright 2008 JROX Technologies, Inc. All Rights Reserved. | ------------------------------------------------------------------------- | This script may be only used and modified in accordance to the license | agreement attached (license.txt) except where expressly noted within | commented areas of the code body. This copyright notice and the | comments above and below must remain intact at all times. By using this | code you agree to indemnify JROX Technologies, Inc, its corporate agents | and affiliates from any liability that might arise from its use. | | Selling the code for this program without prior written consent is | expressly forbidden and in violation of Domestic and International | copyright laws. | | ------------------------------------------------------------------------- | FILENAME - flv_player_pi.php | ------------------------------------------------------------------------- | | This plugin loads the flash video player | */ function Flash_Player($data = '', $link = '', $container = 'container') { $CI =& get_instance(); $data = '<div id="' . $container . '"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div> <script type="text/javascript" src="' . base_url() . 'js/flvplayer/swfobject.js"></script> <script type="text/javascript"> var s1 = new SWFObject("' . base_url() . 'js/flvplayer/player.swf","ply","' . $CI->config->item('sts_video_player_width').'","' . $CI->config->item('sts_video_player_height').'","9","#FFFFFF"); s1.addParam("allowfullscreen","' . change_boolean($CI->config->item('sts_video_player_allow_fullscreen'), 'false', 'true').'"); s1.addParam("allowscriptaccess","always"); s1.addParam("wmode", "transparent"); s1.addParam("flashvars","file=' . $data . '&autostart=' . change_boolean($CI->config->item('sts_video_player_autostart'), 'false', 'true').'&logo=' . $CI->config->item('sts_video_player_logo') . '&controlbar=' . $CI->config->item('sts_video_player_control_bar') . '&backcolor=' . $CI->config->item('sts_video_player_back_color') . '&screencolor=' . $CI->config->item('sts_video_player_screen_color') . '&frontcolor=' . $CI->config->item('sts_video_player_front_color') . '&displayclick=' . $CI->config->item('sts_video_player_display_click') . '&link=' . $link . '"); s1.write("' . $container . '"); </script>'; return $data; } ?>