ActionScript 3.0 :: Not Loading Videos From A Network Share (unc Path) Into Swf On Http Intranet
May 17, 2011
This isse occurs in flash player 10.2 but not in 10.1. Im sorry if my rusty english is making this hard to understand. I have an issue that causes my hair to turn grey. I think it has something to do with security sandbox when accessing file over networks share from http. I have an swf wrapped with swfobject in html on a intranet: [URL] That swf tries to access/stream/load a flv file on a network share unc path:[URL] I get an NetStream.Play.StreamNotFound error when i try to load that flv file. I catn even load an image from that share. The code works fine when accessing files on the same http domain and when locally on my hd.
I've tried both with single and double backslash i the path so that it isnt broken.. cause I noticed that flash removes single back slashes. It actually seem as if I cant access any file on the netwrok drive. So therefore I cant load a policy file (crossdomain) from that network as well. I've added the network path to the Global Security settings panel, I can provide you with more info if you want to.
View 2 Replies
Similar Posts:
May 17, 2011
I have an swf wrapped with swfobject in html on a intranet: [URL]. That swf tries to access a flv file on a network drive:
\sub.mydomain.comdatamediamymovie.flv
I get an NetStream.Play.StreamNotFound error when I try to load that flv file. The code works fine when accessing files on the same http domain and when locally on my hd.
I've tried both with single and double backslash I the path so that it isnt broken.. cause I noticed that flash removes single backslahses. It actually seem as if I cant access any file on the network drive. So therefore I cant load a policy file (crossdomain) from that netwrok as well. I've added the network path to the Global Security settings panel, but that doesnt work. But it actually works in plugin version 10.1.. but not in 10.2 or 10.0. How is that for weird. I think it has something to do with security sandbox when accessing file over networks.
View 1 Replies
Jul 1, 2010
We would like to build a flash video player into our corporate intranet site, currently we are evaluating JW Player and have come across and issue accessing the FLV files stored on a mirrored share drive that all users have access to on the local intranet.From what I can tell the Adobe flash plugin will not allow a SWF file hosted 'online' (intranet) to access a shared directory that the user has access to. Is there any way around this?
View 1 Replies
Apr 30, 2011
is there already built in libraries that allow for connecting to remote shares that require authentication?searching for as3 and smb is swarmed with results for a game written in flash called SMB.
View 0 Replies
May 17, 2011
I have an swf wrapped with swfobject in html on a intranet: url...That swf tries to access a flv file on a network drive: \sub.mydomain.comd atamediamymovie.flvI get an NetStream.Play.StreamNotFound error when i try to load that flv file. The code works fine when accessing files on the same http domain and when locally on my hd.I've tried both with single and double backslash i the path so that it isnt broken.. cause I noticed that flash removes single backslahses.It actually seem as if I cant access any file on the netwrok drive. So therefore I cant load a policy file (crossdomain) from that netwrok as well.Ive added the network path to the Global Security settings panel, but that doesnt help.But it actually works in plugin version 10.1.. but not in 10.2 or 10.0.
View 1 Replies
Apr 18, 2011
I need to open media files from a network path like this "\drivefolderfile", is it possible, if yes how? else is there any other alternative?
View 1 Replies
Apr 22, 2010
I was wondering if it would be possible to write a file, not to the local system, but to a connected server or other network path. Would i have to use an external php interface for this or can i entrust this to the AIR framework?
View 2 Replies
Oct 11, 2011
I have FMS installed on windows server 2008. I have a large number of videos which are served to my clients using rtmp protocol.Now we have designed a new player with some controls which apparently do not work while an rtmp video is playing.
View 2 Replies
Apr 21, 2010
I am not able to play video on mobile device which is .3gp container and H.263 / AMR_NB encoded. I just want to play my website videos in mobile device also just like[url]....I want to use RTMP and HTTP both. My requirement is as follows - Which codec and container will be best? Should I use FLV to play video on mobile device? RTSP required or can be use RTMP? Is NetStream and NetConnection methods different from Flash Player in Flash Lite Player? How to play 3gp video using RTMP stream ie.ns.play(mp4:mobilevideo.3gp¯, 0, -1, true) is it ok or any thing else required? For mobile browser and computer browser,can I use single player or I have to make different player for computer browser and mobile browser? It would be better if I can do it with single player for both mobile and computer browser. Sample code required for testing. If you can.I got below article in which they mention that we can play video 3gp container in mobile also.
View 2 Replies
Jun 8, 2011
I have created a Java program to Encrypt the FLV video. Here is what I am trying to do:
1. I have encrypted first 100K of the FLV video.
2. I have created a Flash player to play the FLV file.
3. At the load of player, player sends a request to Java server for the location of the video.
4. Java returns the HTTP path of the encrypted FLV to the player.
Now here is what I want to do:
1. As soon as first 100K of video is loaded I want to send it to java code for decryption.
2. While the decryption happens I want to continue downloading the video in Flash.
3. Once I receive the first 100K of decrypted video I want to replace the first 100K of buffered video and start playing the video.
View 5 Replies
Mar 14, 2012
We use FMIS (3.5) to distribute our videos, but how can I use HTML5 to view them without duplicating the video to the HTTP VOD directory.Can I point to the application FMS file location like I can with RTMP in some way?
View 2 Replies
Feb 22, 2012
the FMS server is streaming videos only when the path doesn't have the flv extension with the video. In case I put the .flv extension, it connects to the RTMP server but doesn't streams the video. How can I make it stream even if the video has .flv extension?
View 2 Replies
Sep 6, 2011
I have the following scenario:
One application JEE / Flex 4 running on a tomcat, inside my Flex layer I have a iFrame passing a url to an ip of my internal network (http:url....) which is another application running within an industrial PLC.When access this app from within my internal network works fine, but when I try to access this iFrame to an external network in my home for example have a timeout error onhttp:[url].........
I believe this error occurs because the flex client is trying to run this url as I was in a internal network.Is there any way to run this url from an external network?
View 1 Replies
Oct 26, 2009
I have a SWF that I am running on a kiosk and the Actionscript is calling a PHP script residing on an internal IP address. As everyone always says, it runs great with the IDE, however when I publish this file and run it, I get nothing. I cannot even output errors and such into a textfield. I'm totally baffled as to how I can debug this.
Code:
//set up request and loader
var request:URLRequest = new URLRequest("http://10.25.241.11/custom/test.php");
var loader:URLLoader = new URLLoader();
[Code]......
View 4 Replies
Jan 12, 2011
How to share TextArea Component in multiple swfsaylib.swf (has TextArea Componenet)main.swf (Import TextArea Componenet from lib.swf)section.swf (Import TextArea Componenet from lib.swf)
View 1 Replies
May 6, 2009
I have an activeX control for a network camera when it is installed on my PC. I want to use that network camera in actionscript by loading its activeX control, but don't know how to do that.
View 1 Replies
Sep 13, 2011
I monitor (and log to server) most user errors in our flash game. Quite frequently I see security errors related to trying to make requests to a cross-domain URL (usually the Facebook Graph API). 99% of our players can make these graph API calls with no issues.What I think is going on is that the client makes a request, but fails to load the crossdomain.xml file. I don't quite know how AS3 handles this in the case of a failure to load the crossdomain policy file...will it retry for every URLRequest made until it succeeds in loading it, or does it just give up forever?
View 2 Replies
Apr 21, 2008
I have a huge SWF. Instead of loading every frame and playing from the beginning with loadMovie(), is it possible to load only say frames 100 to 120? Also, if I have a pause button, how do I make loadMovie() stop loading to conserve network bandwidth?
View 4 Replies
Jun 26, 2009
I am trying to have one single loader for different buttons to load their specific target. lets say I have btnOne and btnTwo, each of them have their page to link to, btnOne to pageOne, btnTwo to pageTwo, page one and two are external swfs. so can I load them into stage by sharing one single loader?
this is simply my script:
ActionScript Code:
var swfURL:String = ("external.swf");
btnOne.addEventListener (MouseEvent.CLICK, startLoad);
btnTwo.addEventListener (MouseEvent.CLICK, startLoad);
[code]....
View 2 Replies
Jun 26, 2009
I am trying to have one single loader for different buttons to load their specific target.lets say I have btnOne and btnTwo, each of them have their page to link to, btnOne to pageOne, btnTwo to pageTwo, page one and two are external swfs. so can I load them into stage by sharing one single loader? this is simply my script:
[Code]...
View 2 Replies
Jul 8, 2009
I'm working though the Adobe "Flex in a Week" video training series, and I've reached Exercise 9, which deals with creating a remote service call. Up til this point, the data source and images have been local assets (located in src/assets in my Flash Builder project).
I access the room list by this:
<mx:HTTPService id="rooms" url="assets/roomList.xml"
fault="httpFaultHandler(event)"
result="httpResultHandler(event)"/>
Here are the two result handlers:
private function httpFaultHandler(event:FaultEvent):void{
Alert.show("There was a problem","Error");
}[code]...........
However, when I run the application in the blazeDS container, I get no rooms despite the fact that the room list clearly exists in the deployment directory after running the application:
$ find . -name roomList.xml
./tomcat/webapps/odt/adobeODT-debug/assets/roomList.xml
How can I debug the reason for this failure? The deployment process used by the Flash Builder tool is fairly opaque, and the tomcat instance isn't advertising 404s from Flex apps. Is there logging somewhere, or something, that needs to be turned on?
View 1 Replies
Mar 7, 2010
I've got a bunch of flash files being served off a HTTPS site in IIS7. With contentcompression turned on, the flash files wont display. Does flash not support HTTPcompression, or is IIS doing something unusual?
View 1 Replies
Jan 2, 2012
I'm curious what the correct methodology is for loading image and video data directly from the file system, without employing HTTP.I'm writing an AIR slideshow application, and it works great but currently relies on a local MAMP server to hand the app all the media via the standard, tried and true, FLASH media loading methodologies.I know that since FLASH was developed as a web plugin it handles this way of receiving data best, but I'd really like to extricate this rather onerous and unnecessary bit and have the app as a stand-alone player, however, I'm unclear what the "correct" way is to load the media.I have the File objects ready and I've gotten as far as having the user select the local directory from which to pull the media and I'm getting a list of the files (based on their extensions) from the list.
View 1 Replies
Oct 14, 2009
My first swf loads a singleton class and instantiate it , and I access to it in the following swf's files (they were loaded in local system).
Now I have to load all swf via http. The issue is when I load second movie throw the first one, I can't get the singleton instance... it seems it lost reference...
View 0 Replies
Mar 19, 2009
I am calling a xml file from intranet
xmlLoad("\serverfolderfile.xml")
its gives me a error.
I am building a intranet application.
View 1 Replies
Aug 16, 2007
We did a Flash presentation for a client and at the end of the presentation we trigger a getURL command that is supposed to take them to their intranet. The client is saying "it isn't working", what that means I'm not sure. So I sent her the same link in an email and said click this and tell me what happens. She said "it worked".So my question is what could be causing this.
Code:
getURL("http://clientsite.com/page.asp","_blank");Could it have anything to do with A. The _blank targetB. Something to do with their servers that they aren't allowing people in from an "outside" link.
I'm stuck with this because it worked from the email.
View 9 Replies
Jul 1, 2009
I have a AS3 project that should loads external movies from Youtube.Is that an way to load youtube videos from the embed url?
View 4 Replies
Jun 24, 2009
I am loading into my movie a super simple test swf ... a moving box over 100 frames that stops at frame 100 .... once its loaded I just move it out of site so I don't reload it ... when its turn comes up again I bring it into position and send a gotoAndPlay(1) code to it ... here's the weird part it works on my server, as well as in Flash dev environment but when the swf comes off of our corp intranet server it plays fine but that code does nothing
View 5 Replies
Oct 6, 2008
Ive been having trouble with Flash Player for quite some time now. I can watch some videos, but it takes some struggling to get them to work.
For example, on NFL.com, I can't watch any videos by clicking "Play", the video will just grey out and remain that way forever. However if I can find the video on the list underneath the player, sometimes when I click on the thumbnail the video starts automatically and I can watch it.
On Patriots.com things are a little worse. The player controls underneath the video don't load at all and I cant watch
[Code]...
View 1 Replies
Jun 4, 2009
I am building a video player which should load multiple videos in a FLVPlayback. When the loading of the first video has finished, the second one should start, using the VideoProgress Event.
My code looks like this, videos is an array with the paths to the videos:
flvPlayback.addEventListener(fl.video.VideoProgressEvent.PROGRESS, progress);
flvPlayback.addEventListener(VideoEvent.COMPLETE, onComplete);
private function progress(e:fl.video.VideoProgressEvent):void
[Code]....
Now I have the problem when I test this locally, the first video is invisible sometimes when starting to play. This is not happening everytime, but sometimes the video is not shown, but I can hear the sound, and I can see the scrubber on the seekbar moving.
I already tried to check in the progress function if the video is already playing, and if not, set a timer that will call the progress function again in 1 second.
View 7 Replies