Solved

How do I change the path to flash player

Posted on 2011-09-22
8
294 Views
Last Modified: 2012-05-12
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
Comment
Question by:TonyReba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 29

Accepted Solution

by:
dgofman earned 500 total points
ID: 36583675
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
 
LVL 9

Author Comment

by:TonyReba
ID: 36583718
Sorry, but where exactly can I do this?

0
 
LVL 29

Expert Comment

by:dgofman
ID: 36583891
<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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 9

Author Comment

by:TonyReba
ID: 36583919
Movie is not found. I used /myotherfolder.  Do i need full website path?


0
 
LVL 29

Expert Comment

by:dgofman
ID: 36583996
ofcource
0
 
LVL 9

Author Comment

by:TonyReba
ID: 36586799
I tried this but player is not loading, any thing else you can think of. ?
0
 
LVL 29

Expert Comment

by:dgofman
ID: 36713631
Please can you upload your FLA file or provide link on your website?>
0
 
LVL 9

Author Closing Comment

by:TonyReba
ID: 36718105
Change to jwplayer, and works much better. thanks
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
First of all, we will need Jumi component or Sourcerer plugin for this to work. We need either of these because the main focus here is custom development outside of the standard modules or articles within Joomla. You can find Jumi here...it's my …
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question