Added flash player..but...

Discuss news styles, css code, and other Coranto customizations in here...the possibilities are endless, so have at it!

Moderator: Spunkmeyer

Added flash player..but...

Postby Hrvoje » Sun Mar 25, 2007 12:03 am

hello, this is my code that works, it reads flv file from the source ../../<Field: CustomField_video>...but it works only when i put for example: 1movie.flv, but when i try to put another new link like http://www.something.com/mnovie.flv it wont read it, why?

here is my code


Code: Select all
<script type="text/javascript">
   var FO = {   movie:"../../flvplayer.swf",width:"<Field: CustomField_sirina>",height:"<Field: CustomField_duzina>",majorversion:"7",build:"0",bgcolor:"#FFFFFF",allowfullscreen:"true",
      flashvars:"file=../../<Field: CustomField_video>&autostart=true&lightcolor=0x557722&backcolor=0x000000&frontcolor=0xCCCCCC" };
   UFO.create(   FO, "player1");
   
</script>
Hrvoje
 
Posts: 182
Joined: Thu Mar 22, 2007 12:35 pm

Postby SrNupsen » Sun Mar 25, 2007 9:22 am

Because your "file" variable will then look like this:

Code: Select all
../../http://www.something.com/movie.flv
-----------------------------------------------------------------------------------------------------
Coranto is free software. I am available for custom work or troubleshooting.

http://www.sundaune.no - transkripsjon, webdesign, nettsider, tekstbyrå
http://www.vagbladet.no - satire, politikk, kultur, sport, nettavis
-----------------------------------------------------------------------------------------------------
SrNupsen
 
Posts: 2229
Joined: Tue Jan 09, 2007 6:46 pm
Location: Nesodden, outside Oslo, Norway

Postby Hrvoje » Sun Mar 25, 2007 10:34 am

SrNupsen wrote:Because your "file" variable will then look like this:

Code: Select all
../../http://www.something.com/movie.flv
yes even when i delete ../../ it doesent work
Hrvoje
 
Posts: 182
Joined: Thu Mar 22, 2007 12:35 pm

Postby Bregenspan » Tue Apr 10, 2007 2:41 am

I don't know much about Flash, but could it have something to do with this?:
External data not accessible outside a Macromedia Flash movie's domain

For security reasons, a Macromedia Flash movie playing in a web browser is not allowed to access data that resides outside the exact web domain from which the SWF originated.

As an enhancement to Macromedia Flash Player 7, domains must be identical for data to be read. With this change a sub-domain can no longer read data from a parent domain and vice versa.
Bregenspan
 
Posts: 4
Joined: Tue Feb 20, 2007 1:11 am
Location: Oberlin, OH


Return to Customization

Who is online

Users browsing this forum: No registered users and 2 guests

cron