Trying to Re-Write Embedded Video Code - Need Help

Hey Everyone,

 

I'm pretty close I just need to know where I can create a variant code for  .  $sUrlPref  . 

 

Does anyone know where it's located?

 

The goal

                'value' =>  '<object width="480" height="385"><param name="movie" value="'. $sUrlPref . '"' . '></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="' . $sUrlPref . '" '. 'type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>',

 

I would like to get to the main video file instead of the /view video file. My users embed videos on a forum that re-writes script and it's fing up the Boonex code. I've re-written this to mimic YouTubes code string which for whatever reason doesn't seem to have any issues when my favorite forum re-writes the script.

I need to create a code variant for   "$sUrlPref "  and will most likely call it     "$sUrlPref2"      that will take the user   directly to the uploaded video file

http://www.myawesomeboonexsite.com/flash/modules/video/file.extention 

 I'm pretty sure I have an idea how to allow access and how to get the right files I just need to know where the damn  $sUrlPref  is defined.

Thanks for any help.

 

Best Regards,

Mario

Quote · 10 Nov 2010

Howdy,

In my embed code changes I usual manually code the url and reference the file id with the extension at the end.

$MyFileURL = "http://mysite.com/flash/modules/video/files" . $aInfo['medID'] . "mp4";

or

$MyFileURL = $site['url'] . "flash/modules/video/files" . $aInfo['medID'] . "mp4";

 

I never really bothered to figure out how to access files through the get_file.php, so changed (or remove) the .htaccess file in flash/modules/video/files/

 

If someone knows how to leve the .htaccess file intact an go through get_file.php please share.

Light man a fire keep him warm for a night, light him ON fire & he will be warm the rest of his life
Quote · 10 Nov 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.