Flash :: Display Video In A Flex Application?

Aug 16, 2011

I need to display Facebook video player in my Flex application. I retrieve URL via FB Graph API to a video being displayed in facebook video player and I pass it to SWFLoader. Unfortunately I have some problems with getting it displayed correctly.Facebook video player is displayed on Facebook site as 720x244 movie. The movie is displayed in the middle of it (320x240) and on the left and the right side there is black background.Is there any way to display central part (movie) only with SWFLoader? Here is my code:

<mx:Box width="320" height="240" verticalAlign="middle" horizontalAlign="center">
<mx:SWFLoader source="{'http://www.facebook.com/v/' + numberOfVideo}"
visible="true" id="video" autoLoad="true" />
</mx:Box>

View 1 Replies


Similar Posts:


Display A YouTube Embedded Video In Flash Application?

Jan 24, 2010

The following is the code I am using to display a YouTube embedded video in my flash application.

Code:

Security.allowDomain("youtube.com");
var plr:MovieClip = new MovieClip();
addChild(plr);

[Code]....

I cannot load more than one of those in my app. As soon as I load one youtube vid like that, any others will fail to load UNLESS it was the same video as the first one loaded, in which case there seems to be a 50% chance that it will load. And even when the second one (the same as the first) does load, there are issues with the player loaded.... it seems they are connected somehow and get confused with each other. The trackbar will flicker between the play time of the first one and the play time of the second one.

Next problem... I cannot unload the video right away. Say my user wants to close the video out, when I use:

Code:

ldr.unload()

the player does NOT close its streams and you can hear the audio still playing (assuming it was closed before it was finished playing)...

In my eyes, this is horribly bad programming on YouTube's part. They claim that you are allowed to embed their videos in AS3.0, but if that's true then why does it have such a horrible time as a child SWF? Proper children SWF files should be listening for an "unload" call and close out anything they need to when unloaded.

Here is what I've tried so far:

- Seperating the videos by loading them into other children SWF files (children that I created that I've told to load a specific YouTube vid)

- loading at different times

- Allowing security access from YouTube

How can I load more than one YouTube video into my Flash App without causing problems between them? I'm at my wit's end.

View 2 Replies

Flex :: Display Flash Movies Inside Application And Interact With Them?

Feb 11, 2010

Since I've never done this and the google results are quite random, I ask here: Is it possible to display Flash movies inside a Flex application and interact with them?

The scenario is as follows:

I'm developing a new application in flex Another, already completed application is given to me as SWF (or perhaps SWC, don't know any details yet) I have to insert this second application inside in my Flex application, which should be no problem afair I have to interact with this application: send and retrieve data. Don't know any further details here, too.

Will this be possible? Or is Flex only capable of displaying the SWF without the possibility to interact with it? I hope you can understand, what I want (have to...) do.

View 1 Replies

Flex :: Difference Between Stage Video And Spark Video Display?

Feb 13, 2012

I understand that the spark framework has a video player and a video display. The difference being that video display doesn't have the video controls.I know that stage video is new in AIR3 and uses hardware acceleration to play videos.My question is, does videodisplay and videoplayer take advantage of stage video out of the box? Do I need to implement it another way?

View 2 Replies

Call A CGI Script In FLEX 3 And Display The Result Back In Flex Application?

Nov 14, 2011

How can i call a CGI script in flex 3? Also how can i retrieve the result of exection of that cgi script?

For example, lets say my CGI script(hello.cgi) just display "hello world". How can i call this script from flex 3 and then retrieve the result, i.e. hello world , so that it can be displayed on my flex application.

View 1 Replies

Flex :: Preloader - Display Application Instantly?

Aug 27, 2010

I'm working on a little project in Flex that's an application to upload images to a server. Since it's a pretty lightweight application (~40 kb in release version), I would like it to display instantly when the html page is loaded. But somehow there's a delay of up to 1-2 seconds before it shows up. I think it is a delay actually between the load and the display of the application, and I believe it could be removed.

how to shorten/remove the delay. First, I tried to disable the preloader, but this did nothing. There's actually a delay between a preloader shuts and the application displays (it is around 500 ms - 1 sec). My next guess was to write a custom preloader class to display at least an image of the application (even though it wouldn't be clickable, but at least something).

View 2 Replies

Android :: Display A Lot Of Text In Flex Mobile Application?

Feb 7, 2012

What is the best way to display a large amount of text (5000-10000 words) in a Flex mobile app?

I have been loading text in through an xml file using itemrenderer. It works totally fine when I run the application on my PC but when I load it onto my Android phone it crashes. Looks like my phone can only handle loading in about 3000 words using this method without crashing.

Anyone have a suggestion? Also, HTML isn't going to work for me. I want the text built into the application, which is why I have been trying to use the xml file.

View 1 Replies

Flex :: Display Another Mxml File As Main View Of Application?

Dec 3, 2011

I have the following problem of how to display another mxml file as main view of application For example, lets say I have main.mxml displaying as main window. When I click button I want to display another mxml file lets say newMain.mxml and close main.mxml

View 1 Replies

Professional :: Internet Explorer  Will Not Display Flash Video In Stand Alone Video Players

Feb 27, 2010

Internet Explorer  will not display flash video in stand alone video players, similar to the one at: [URL] The other embedded flash content is viewable.In the IE8 tools, manage add on's, Adobe Flash Player is not listed.I've also noticed that when I access the Adobe Flash Settings manager, I can not uncheck "hardware acceleration".Windows XP Home Service Pack 2 is the operating system.

View 4 Replies

Flex :: Play Youtube Video From Application?

Jan 24, 2012

what the best way to embed a youtube player inside a flex app is. I've looked around and it seems that one can

Try to use SWFLoader (as with what's described here) but this ends up throwing crossdomain violations Use the YouTuve API Ideally use the Spark VideoPlayer component, although I have not been able to figure out how to play a YouTube video through it and am starting to think that it is, in fact, not possible.

View 2 Replies

Flex :: Buffering In Video Display?

Jun 14, 2011

I'm new to Flex and currently working on the Video Component in Flex. The problem is:Buffering starts only after the specified time. So, if i have specified the Buffer Time to be 2 s, then the video buffers for sometime, gets the data for the 2s and then plays it and then again buffers. The point is it is not buffering in parallel to playing. Is there any way of making this possible in Flex 3? Or is it already there in newer versions of Flex?

View 1 Replies

Flex :: Video - White Board Application Development?

Oct 27, 2010

I want to develop a white board application using flex.. Can anyone tell what are the requirements and how to develop it. My plan is to develop online class room. There should be text chat, video chat, voice chat, save current class and so on.

View 1 Replies

Flex :: Develop A Video Chat Web Application In Java?

Apr 19, 2011

Currently we are in the design phase of an application that will allow two users to communicate with each other using chat and video (with audio), the application is a web application that currently is a java web app with Spring and hibernate, but we want to incorporate video and chat between two users and we are evaluating the options to developing it, so far we have two choices, either develop a Flex UI that leverages its video and chatting capabilities through Red5 or something like that and communicates with the Spring app using BlazeDS or a completely java based approach using (maybe) JMF and/or applets to achieve the video and chat interaction. The question is, which would be the most scalable approach to develop such an application?, what would be the approach that is the least intrusive from the end user perspective?

View 2 Replies

Flex :: How To Get Video Display Full Screen

Aug 1, 2011

How does one do fullscreen with VideoDisplay? I am using:
stage.fullScreenSourceRect = new Rectangle(video.x, video.y, video.width, video.height);
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.displayState = StageDisplayState.FULL_SCREEN;

But this does not allow me to go back to normal screen, not even i use:
stage.displayState = StageDisplayState.NORMAL

View 2 Replies

Media Server :: Build Video Conference Application In Flex 3.0?

Jun 5, 2010

I have to build a video conference application with flex 3.

View 1 Replies

Android :: Flex - Embed YouTube Video Player Into Mobile Application?

Apr 20, 2011

Is there any way to embed YouTube video/video player into Android Flex AIR Mobile application?

I tried to use SWFLoader(...) but since its MX library class only works on the desktop runtime environment, but fails to work on actual Android device when debugging the application.

Maybe it's possible to embed HTML that contain YouTube video into some Flex media container like TextArea or something?

View 1 Replies

Flex :: Fix Choppy Video Playback Of Local Flv File In Adobe Air Application?

Aug 17, 2011

I have made a application that plays videos that are stored in a assets folder of the air application but when ever I run it on an hp slate the videos are really choppy. Is there a way to preload the video or does it have to do with the processing power? the videos are 1.72mb or smaller. They are flv format and they auto play when that application is started. I am using flash builder.

View 1 Replies

Actionscript :: Make A Video Full Screen In Flex Desktop Application?

Aug 18, 2011

I am playing a flv video using the videoplayer class of flex. (all the properties of it are being set at runtime)I want to make the video fullscreen without clicking on the fullscreen button i.e. through programming.

View 1 Replies

Flash :: Display Trace For Non-debug AS3 Application

Jul 4, 2011

A client is running into some problems with an application, and cannot install the debug flash player, meaning debugging is very hard. Does anyone know of a way to display the system's trace messages in a textfield on the stage for example? This way I could find the error by having it trace to their screen. I suppose a workaround would be to try/catch all over the application but that is not ideal and very cumbersome.

View 2 Replies

C++ :: Display Flash-based Webpages In A QT Application?

Dec 9, 2011

Im trying to show a flash animation in my QT application, I'm doing it by a QWebView. This is my code:

webpage = new QWebPage(this->window);
webpage->settings()->setAttribute(QWebSettings::PluginsEnabled, true);
webpage->settings()->setAttribute(QWebSettings::JavascriptEnabled, true);

[Code].....

So, Im able to show regular pages, but the pages that got a Flash animation doesnt appears. I receive a blank page and a symbol from adobe, like "Get flashplayer".
I already have it, those pages load ok in Firefox and Chrome. I have put the NPSWF32.dll e my project folder and in others standar paths, but it Didnt work. So I do not really know what to do now. Hope you guys can helpme, I couldnt find the plugin file in Firefox or Chrome folders, so I downloaded another NPSWF32 to put in the project folder, maybe is that?

View 2 Replies

Flex :: Start Buffering A Video Display From An Intermediate Point?

Jan 31, 2011

I am trying to use Flex Video Display as a preview player. The player is streaming the video from the server.While The buffering is not complete, if we try to drag the play head to an area beyond buffered region, the player will drag the playhead back to the current playing position. I need to implement the player like you tube video player which allows to drag to anywhere in the track even when data is not fully buffered.Is there a way for doing this.

View 1 Replies

Flex :: Capture Snapshot With Camera Height / Width Different From Video Display

Feb 3, 2011

I have a video display in my flex app. which is attached to the camera. The camera resolution can vary depending on the user's selection, While the video display (preview) dimensions are fixed. I am then doing this:
bmd.draw(vidDisplay);

Where bmd is the bitmap.. The problem is the resulting bitmap has the correct size of the camera settings (which is set) but the capture from the video is always the size of the video display inside the bitmap.. I hope i am making sense. The result looks like a little picture inside a bigger image top left justified. I want to have a video display preview with fixed height, but be able to take snapshot with varying resolution.

View 2 Replies

Media Server :: Live Video/audio Chat Application - Latency Time Using FMS 3.5 And FLEX

Dec 9, 2010

I've build a live video/audio chat application. All works fine only the issue is latency of 5 secs. I'm using FMS 3.5 and FLEX.

View 1 Replies

Put A Video File (AVI) In A Flash Application?

Aug 16, 2010

I'm building a Flash application and I want to put a movie in it. I wish it had a navigation control like in youtube.I'm a programmer dealing with an application designed by a client, so I had to do it in Flash, even not been very skillful in it.

View 2 Replies

Making A Video Editor Application In Flash?

Jul 14, 2010

I'm wanting to build a project, it's an online video creation software in Flash so people could upload some music, choose videos from a library, edit the whole thing and export and download a movie in the end. I've seen websites like www.Animoto.com close to what I want to do but I can't find how it's made and I'd like to make it a little more advanced when it come to editing.

Here is the design I'm thinking about for the flash video editor. [URL] Is possible to build such a video editor in Flash?

View 1 Replies

Make An Application To Capture Video Using Flash?

Sep 23, 2010

I need to build an app. that will record video from the webcam, show the user what's being recorded and have buttons to start the recording, stop and send to the server.

Here at SO people said the easiest way would be using Flash, but I never used it and searching the web it's being kind of confuse so where should I start?

View 1 Replies

Flash :: Looking To Build A Video Serving Web Application?

Dec 2, 2010

I want to build an application that will allow the user to upload a movie file, then allow the user to give information about the movie (like synopsis, title, etc.) so that he or she can watch it from the server at a later time. Almost exactly like a youtube clone, for all intents and purposes.

I'm running into a problem, however, with serving up the movie to be watched. I want the user to be able to watch the movie on a variety of different platforms, including over the web in all of the common browsers, on iOS devices and on Android devices (as well as GoogleTV in the future).

I had initially planned on having the user upload whatever file formats they want, store that file, then transcode it on the fly using ffmpeg (or something similar) to serve it up to whichever device is requesting it. This is handy, because I'd be able to transcode it to a smaller size if I needed to to save on bandwidth. Unfortunately, I'm having a tough time finding a method that will do this to display the movie in a web browser.

I've tried VLC to death. I'm able to get it to stream a video on demand over RTSP, but (as I understand it), both the HTML5 video tag and Flash won't accept an RTSP stream. I haven't had any luck finding a method of streaming an on-the-fly transcoded video over HTTP, which looks to limit my options to embedding either a windows media player or quicktime. FFServer with FFMpeg has the same problem; it can create an RTSP stream, but not an HTTP stream.

View 1 Replies

Flash :: Convert Application Viewport Into A Video Stream?

Jun 3, 2011

I have a interactive flash application where I can click on menus and do stuff with it. Is it possible to capture the whole viewport which involves expanding menus and stuff and turn it into a video stream in flash?

View 1 Replies

Application - Making A Video Software Editor In Flash?

Mar 6, 2012

I am looking to make a video editing software in flash. how to get media into a timeline? getting the media into a timeline and being able to move around the time of the video and have it display the media on a box

View 1 Replies

ActionScript 3.0 :: Stream Video Inside A Flash Application?

Oct 24, 2009

I'm about to embark on a rather large Flash project that will involve a lot of streaming video.Most of the videos are short (about 4 seconds) but some will be longer, up to a couple of minutes.The videos will be hosted on an Adobe Scene7 server, which allows for resolution and encoding-type to be set in the stream request (amazing technology that I hadn't heard of until this project!).[code]...

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved