ActionScript 3.0 :: Domain Blocking For Video Player?
Nov 5, 2011
i creat domain blocking for video player.in this file i took 2 scence.message in scence1 & video player in scene2.running fine scence1, next scence2 coming.but not run script file in scene2
var allowed_site:String = website.com;
var domain:String = this.root.loaderInfo.url.split(/)[2];
if (domain.indexOf(allowed_site) >=0 && domain.indexOf(allowed_site) == (domain.length -
I am developing a player and I want to make it for only one domain usage for one download. If user needs again then again hew needs to download another version from my site. How can I make it.
I actually have two websites on the same domain. say, for example[URL]..flashsite contain the website that is fully flash based while the other is an html based with no flash. what i want is that, if somebody visits my url on [URL]..the javascript should first detect if the plugin is installed in his browser. if yes, then it should take me directly to the "flashsite" folder, and if not, then it should, by default, load the html website.
I have developed a flex application (Flex 4.5.1).I want the flex application to be used only by the domain names that I allow. As soon as the application is loaded, I check with the remote database if the domain name is valid.
The problem is that flash player only returns the domain name of the user's machine. What I want is the domain name of the website that the flex application is part of. For instance, if the webpage I browse for my flash application is[url]...., I need [url]...or [url].... Is that possible? Every method I have tried only returns the name of the website visitor's computer.
I'm publishing a multibitrate stream with adobe live media encoder to flash media server and I have to duplicate it to two different urls within one domain. Maybe it's possible by configuring apache or maybe there's another way.
We need to call different instances of youTube Video into our own swf and play them.
Now as youTube video is from a different domain, the Flash sandbox restrictions naturally come into play. We am loading the youTube swf into a clip using the MovieClipLoader Class.
If we remove the instance using the removeMovieClip() command the video is removed but the sound continues. We have even tried the MovieClipLoader unloadClip() method but that too did not yield results.
We wish to be able to kill the sound object or atleast mute it so that it does not play even after the movie clip containing the video is removed.
As the swf belongs to a different domain we are unable to control the sound object directly through script.
We have even tried loading another youTube instance into the same movie clip after first removing it using the removeMovieClip() command, then creating it again, and finally loading the youTube instance using the MovieClipLoader class, but the earlier sound still continues to play even while the second clip sound also plays.
I have two mp4 video files on webserver, i wanted to play them in flash player(flv player) on my asp.net page, but i couldn't be able to play them, i also tried to play them in quick time player the same prob occured. but i waz giving the accurate path, there were no spaces in mp4 file names etc. Does it need to have mp4 player(or codec etc) installed on webserver?
I have also some wmv files on that server , and i am playing perfectly using silver light player, and media player object on my website.
post the code for a working cross-domain securityfile that allows access only from the same domain as all the flashfiles and xml files are in?used to be easy in as2 but i think i dont know what i need to know about it in as3..
We are running FMS3 on Windows 2003 Server. Videos stream and play fine when inside our domain, but outside the domain the videos take anywhere from 20 or more seconds before playing.
After analizing the connections it was determined that the player is randomly trying to access ports until it gets to the one that works, but this is ONLY happening from people trying to view videos from outside our domain.
I have moved a web application from old domain to new domain. I cannot get Flash to engage. I have changed the domain in flash_images.php file to the new domain. I have a flash_box.swf file and I have a js file these are the only flash components that I see--old domain is e.g. www.example.com new domain is [URL]..I am not a flash developer, how do I get flash to work on the new domain?
I created some game and would like to let the users play it only on my domain, so to forbid to play it offline or put on some other site. Is there a way to do it? Somehow check domain or so?
I have developed a player in AS3. It is working if i provide the IP of the website. But, it is not working when i provide the full domain name. Even, i provide the crossdomain.xml for global access.
I'm trying to get a video (flv) or an swf video player to work on Facebook walls, however no matter what I do - facebook posts the raw fbml and ignores the code.
I have a website [URL] when I go there if I click the video archives button then play a video then click on the home or photos button or one of the alternate background buttons on the left the video goes away as it should but not always the audio (especially when I click while the video is still buffering). Is there a command I can use to kill the sound from the flvPlayback component and nothing else(I have a mp3 player there also I so I don't want to use the SoundMatrix class. btw the videos are all played on an instance of the flvPlayback component.
I make my base swf in which I load external swf's. In my base swf I have mp3 player. Everything works fine until I need to load external Video gallery or mmedija.swf. In video gallery I have
I built a timeline based player with 2 menus and many videos that you can play.The buttons move the timeline to a frame label and the video plays. The back button has a stop function built in it so the video stops playing when its hit.It plays wonderfully locally but once on a server after a few clicks it boggs down and sometimes the audio from the last video remains playing even when prompted to stop. I was pointed to use the add and remove child functions to prevent this but being very new to Flash and 100% self taught i have zero idea on how to do this. The link to the player is[url]....Even if its a link to a tutorial or something.
I was wondering how I can delay (2 seconds) a video to play in a Flash Video Player? I know one way is for me to add blank frames but I would like to know some other options.
With the Flash Player that comes with CS3 and on my PC XP Pro laptop.I want the player controls to appear at the _bottom_ of the video not on top of the video and not under (behind) the video.
- my video is 640 x 480 - so I modified the "properties" tab at the bottom of the screen to 640x480... (it was 550x400) - but that just makes everything larger when I click File > Publish - and then look at the video in Internet Explorer... the Player Controls are still _On Top_ of the video.
I guess I need to learn how to
- Make the stage bigger - Position the Player controls below the actual video
I'm developing a video player for Pure IP multicast video. I'm using the Multicast Configurator provided with FMS 4 for generating the configuration. This is the manifest file generated: <manifest xmlns="[URL]"> <id>Multicast_IP_Multicast</id> <streamType>live</streamType> <duration>0</duration> [Code] .....
That's not working. And I have several doubts about it: 1.- It's not working, and I don't know where is the error. I'm not sure what I should add as parameter in GroupSpecifier constructor? GroupSpecs from manifest file?? "com.adobe.pureIPMulticastGroup"??
2.- I've been watching the multicast.as application in FMS4. The only way of publishing multicast streams in FMS4 is using the configurarion from Multicast Config Tool? Is it possible publishing a stream without the GroupsSpec generated by the Config Tool?
3.- If It's mandatory using the config tools for managinf the pure ip multicast. I would like to integrate the Multicast Config Tool in my platform. Is there any place where I could get the code of Multicast Config Tool? Any documentation about how to build it? This component have any flashvars or callbacks that could allow me integrate it in my platform?
I want to play smooth streaming video from IIS using the flash video player like e.g. jw flash player instead of silverlight player?Which video format should I use in this case? Can flash then play e.g a video via smooth streming encoded with microsoft encoder?Do you know some alternative video players, that combines flash and silverlight functionality (selected per java script) to use with flash and silverlight?
We have developed flash video player which needs to playe large videos (at least 500 MB videos).We have some issues in the player right now.I am playing a 100 MB + video, it start playing and say it is buffering upto 50% of that video. Then I am closing that page. If I take that video again, it starts downloading from beginning. It never resume downloading from where it buffered previous time. But for small video files, this is looking ok. Is there any size limit a video player can buffer?Is there any better way to play large videos (more than 500 MB). Any other protocol or any other settings in flash player?
i am just curious if this kind of technology for flash is available.Can a website flash player able to cut specific part of the video and save it as a new video through php and flash.
I have an AS3 video player I've put together using fairly standard Netstream method and it plays my flv's fine. The problem is, the sound quality varies wildly depending on who is looking at it. When I test locally, the audio in the video is fine, but on a windows machine it goes horrifically loud to the point of distortion, also the client (outside the UK) has said it sounds fine to them, so It appears to be only happening here.
My video player slows down the whole browser when downloading the video and I dont know how to prevent this. If you need to see the code, Link to slow video player : [URL]
I have a video player that plays videos loaded via XML and selected using a combbox. I just got the play and pause buttons to work. What I'm attempting to do now is be able to hit next or previous buttons and select the next or pevious video from the XML file, and update the displayed/selected file in the combobox, my thought was to somehow set the previous/next buttons to directly manipulate the combobox, but nothing I've tried so far has worked.
ActionScript Code: import fl.data.DataProvider; var nc:NetConnection = new NetConnection(); nc.connect(null);
I'm doing an Assignment where I have to build a website using Flash and for it to contain 4 video's.How can I have one single video player where the user can select what video's they want played in it from the website?
I need to load dynamiclly video in flex video player on the web,I'm using standard video player component,when page load a want to load a video in it.I'm not flex programmer