• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 308
  • Last Modified:

How do I change the path to flash player

I need to know how can i change the path of the files where the flash player is called :

FLVPlayer_Progressive swfobject_modified Clear_Skin_1

As right now I have them on the root in my website , since I could not make this work in other ways, but is causing problems when the main page load , so I need to put on ./flashplayer/
folder insteasd ,

I am using Joomla 1.5 , dreamweaver, and this is the code..
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<div id="DHRTube" >
<img src="images/dhr-tube-logo.png" width="197" height="86" alt="dhr-tube" />
</div>
<?php
defined ( '_JEXEC' ) or die ( 'Restricted access' );

$videos_most_views = $this->model->getElements ( "views" );
$videos_recent = $this->model->getElements ( "id" );
global $header_jvideoclip;
global $header_category;

echo $header_jvideoclip;
//echo $header_category;
?>

<?php
//echo JText::_ ( 'Video Categories' );
//echo $header_category;
?>


<div class="header-wide">
  <p>
    <label>
      <?php echo JText::_ ( 'Featured Video' );?>
    </label>
  </p>
  <p>&nbsp; </p>
</div>
<div id="clearfix"/>
<div id="videoobject" style="text-align:justify; margin-top: 9px; padding-top: 11px;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="475" height="318" id="FLVPlayer">
  <param name="movie" value="FLVPlayer_Progressive.swf" />
  <param name="quality" value="high" />
  <param name="wmode" value="transparent" />
  <param name="scale" value="noscale" />
  <param name="salign" value="lt" />
  <param name="allowFullScreen" value="true" />

  <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Clear_Skin_1&amp;streamName=flv/FishingForHope&amp;autoPlay=true&amp;autoRewind=false" />
  <param name="swfversion" value="8,0,0,0" />
  <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. -->
  <param name="expressinstall" value="Scripts/expressInstall.swf" />
  <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
  <!--[if !IE]>-->
  <object type="application/x-shockwave-flash" data="FLVPlayer_Progressive.swf" width="475" height="318">
    <!--<![endif]-->
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <param name="scale" value="noscale" />
    <param name="salign" value="lt" />
    <param name="allowFullScreen" value="true" />

    <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Clear_Skin_1&amp;streamName=flv/FishingForHope&amp;autoPlay=true&amp;autoRewind=false" />
    <param name="swfversion" value="8,0,0,0" />
    <param name="expressinstall" value="Scripts/expressInstall.swf" />
    <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
    <div>
      <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
      <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
    </div>
    <!--[if !IE]>-->
  </object>
  <!--<![endif]-->
</object>
<script type="text/javascript">
swfobject.registerObject("FLVPlayer");
</script>
</div>
</div>
</br>

Open in new window

0
TonyReba
Asked:
TonyReba
  • 4
  • 4
1 Solution
 
dgofmanCommented:
You can modify default location of base context.

Check HTML tags

http://kb2.adobe.com/cps/127/tn_12701.html

You are interesting "base"

base - [base directory] or [URL]. Specifies the base directory or URL used to resolve all relative path statements in the SWF. This attribute is helpful when your SWF file is kept in a different directory from your other files.
0
 
TonyRebaAuthor Commented:
Sorry, but where exactly can I do this?

0
 
dgofmanCommented:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="475" height="318" id="FLVPlayer">
  <param name="movie" value="FLVPlayer_Progressive.swf" />
  <param name="base" value="http://myserver.com/myotherdirectory" />

Now all file loading by Flash Player will be looking from myotherdirectory using relative path
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
TonyRebaAuthor Commented:
Movie is not found. I used /myotherfolder.  Do i need full website path?


0
 
dgofmanCommented:
ofcource
0
 
TonyRebaAuthor Commented:
I tried this but player is not loading, any thing else you can think of. ?
0
 
dgofmanCommented:
Please can you upload your FLA file or provide link on your website?>
0
 
TonyRebaAuthor Commented:
Change to jwplayer, and works much better. thanks
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now