Solved

How do I change the path to flash player

Posted on 2011-09-22
8
283 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
  • 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
 
LVL 9

Author Comment

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


0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
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.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now