Solved

How do I change the path to flash player

Posted on 2011-09-22
8
288 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Add a table in Joomla sortable 4 100
Add server behaviors to Dreamweaver CC 2015 2 129
File conversion question 5 83
Google search result shows " This site may be hacked" 12 69
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
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…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
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.

919 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

18 Experts available now in Live!

Get 1:1 Help Now