Solved

How do I change the path to flash player

Posted on 2011-09-22
8
297 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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This is our step by step to setting up and configuring a Joomla Install on a Windows 2003 Server. This is the perfect solution for an Intranet Website using Joomla. What you need (only use the following versions) : A fresh copy of Joomla http…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
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 select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

691 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