ActionScript 3.0 :: Custom Video Player Full Screen?
Jun 9, 2010
for a project I need to develop a custom video player that needs to be able to go fullscreen, with custom control (play btn etc) overlay. The player will be used in a flash application (say as a window in the application.
Now I can figure out how to build a player from NetConnection, NetStream, Video etc, but I have no idea how you would implement the ability to go fullscreen and have the control overlay when in fullscreen as well.
Note that I cant tell the SWF to go full screen, it needs to be just the player.
In a video player how this can be done, any tute / thread will be helpful Add right click option to go fullscreen Add double click option to go fullscreen
I've always been frustrated when I use the FLV video player component because it does not create the full-screen button For example, I have a 1280x720 F4V video. I want to use the FLV component to play it. But I want it to be on the stage half that size (640x360) and then give viewer option to click full screen to play it at 1280x720 (like YouTube does).So I'm basically stuck with the same old player controller that flash CS4 generates with no full screen capability.
I'm workin on a multimedia CD that I'm creating entirely with Flash. I have just ncorporated 2 video files. They play in the flash players fine but when I click on the Full Screen mode it blows the video up way to big to the point were I can only see a small section of it.
I have an issue with video. I have a full screen projector running Flash Player 10.1. I call the video with this code: function fbtnclickj(e:MouseEvent):void{ var loadera = new Loader(); addChild(loadera); loadera.load(new URLRequest("videos/video1a.swf")); } The videofile (video1a.swf) uses the Flash FLV Playback component 2.5 (size 320 x 240) and the source movie is external (video1a.flv). The videoloads and runs fine but enters in full screen despite I have configure the component to exactFit. Any way to make it stay to 320x240?
I tested my skin for YouTube Chromeless player, and seems it worked properly.All graphic elements, including TLFTextFields, are stored in external SWF, all the AS3 code - in loading SWF.I use ProLoader class to load SWF.However, when I tried to attach Player skin code to my Home Page code, I immediately bumped into two issues:
1. TLFTextFields ceased to display proper font;
2. YouTube Chromeless player ceased to enlarge up to Full Screen width in Full Screen mode, whereas all publishing settings were kept the same...
Although I managed to cope with TLFTextField bug by replacing instances with vars in loaded SWF, I have no the slightest idea what to do with those paddings in Full Screen mode... Neither removing all children on stage before loading YouTube Player skin, nor compulsory resetting player's size can't make it work...
We have this legacy code of a flash video player that functions well enough but still has some loose ends I need to tighten up. It can do the basic "switch to full screen and back to normal size" stunts, however with one exception.
On the first fresh load of the app, if I switch to full screen mode first, and then click to play the movie, the player would be in full screen, yet the movie itself would remain in it's original size.
The VideoDisplay object even returns the expected width/height, but the movie just plays in it's original size. If I switch screen sizes during movie playback, then the movie size will shrink or stretch as it should.
I am using the FlvPlayback class to show movies. The full screen feature works since I am just calling the method defined in the class. My issue is whenever I make it full screen on a computer that has 2 monitors, the full screen flash player always ends up in the primary monitor. When that happens, I notice that the location where the flash player was in the other monitor is empty. How do I prevent this from happening and force the video player to remain in the monitor it was originally in?
Ive imported an FLV into a Project. Some computers wont play the video back if the Flash Player is set to Full Screen. The screen goes black during Full Screen. If you set the player to regular, you can see the video playing (embedded into design) but once you set player to Full Screen the video plays on its own right at centre of screen. Im working on a Touch Screen Display that has the display set to Portrait mode. Im investigating if the display card is causing the problem.
I am creating a full screen projector with flash CS4. In the projector I have more videos, starting from an swf player-
The problem I encounter is this:
The projector starts correctly FULLSCREEN (using AS). The video plays 900x506 correctly. If I click on the player, to get the video full screen, it works. But when I press ESC, not only the video, but also the PROJECTOR looses full screen.
This is a bit annoying. Is there a way to apply the "back to normal size" only to the video? I do not want to prevent the app to be exited from full screen, it's not a problem if the user wants to exit the projector full screen. But not when the user exits the video from fullscreen mode.
I've been trying to attempt to make it so a .flv video will fit to the entire screen of the browser window. ( I already have my .swf file fit to re-size to any browser on any computer. I just can't figure out how to make the video as well) And obviously an external video so the flash file wont take forever to load.The point is this is to be able to have the Video be the background. So I may put content (Links, information or whatever else) on top of the video.
I have a FLV playing in Flash with a full screen button. The problem is I want only the video to be shown full screen, not the entire stage. This is the code I'm using to make the video fullscreen.
function fullScreenUP(event:MouseEvent):void { if (screenCheck == false) { stage.displayState = StageDisplayState.FULL_SCREEN;
I created simple swf. It contain more than one video (for example 4). FLVPlayback component used to play the video.It works fine. When i enter full screen of the first video it shows the fourth video. If i did continuously means the component size changed automatically.
I just used FLVPlayback component and created flv player my custom skin work in normal mode. but in full screen mode the skin not appear and no thing appear else the video screen ..so, how to make my skin appear in full screen mode ?
I have created a simple custom video class that replaces the need to use the FLV playback component. It simply loads the video, and there's a button that pauses and plays the video.owever I am looking to create the full screen feature that the flash FLV component contains. However I cannot find any resources to accomplish this. If anyone has come across anything or can offer me any information on
I have designed a Flash player Full screen function is not working in Mozilla Firefox (latest i think 3.5 ) full screen functionality works fine in other browsers ( ie Chrome , IE )
I'm finding that certain browsers for Mac (and perhaps PC) force my custom flv player to load the entire external file before playback begins.
The basics of my code:
Code: var nc:NetConnection = new NetConnection(); nc.connect(null); var ns:NetStream = new NetStream(nc);
[Code].....
How do I stipulate instant playback in browsers that try to perform a full preload? By the way ... "vP" is already on the stage and is the video player.
I'm running Vista, 32 bit, and the latest version of Firefox. Any time I enlarge a video I'm watching on a website that uses the Flash Player, (youtube and others) to full screen, the computer eventually locks up. The video continues normally, but hitting escape does nothing to reduce the video back to the smaller size. I then hit CTRL ALT DEL and still nothing changes. The mouse can't move the cursor, hitting tab doesn't work, nothing.
I've tried uninstalling the Flash Player using the offline uninstaller, and reinstalling the latest Flash Player using the offline installer. I've gone to the Flash "about" page after each of those 2 actions to make sure that Flash is completely uninstalled, and reinstalled. I've also run CCleaner after uninstalling Flash Player just to make sure no registry entries, etc. remained.
I have uploaded a flv file to my website, and when I click the full screen button the video only scales to a about a fourth of the computer screen instead of the whole screen. Heres the link: [URL].
// for Full Screen stage.displayState = StageDisplayState.FULL_SCREEN;// for the normal screen stage.displayState = StageDisplayState.NORMAL;But this code does not fulfill my requirement. I need Vertical Scroll Bar, even I go to the FullScreen, but I don't find any Scroll with this code.Even I tried "window.open" of JavaScript with ExternalInterface, but I couldnot succeed.
I have an application that runs as a projector and is meant to run full screen in a kiosk. However, when the app is expanded to full screen it crashes and I get an error message of:
Faulting application test.exe, version 10.0.2.54, faulting module test.exe, version 10.0.2.54, fault address 0x0015187e. Event ID: 1000
If I run it in a web browser and try to go full screen the same thing happens. I've been all over the web and haven't found anything. Have uninstalled virus software thinking it might be a problem.
I have implemented chromeless player and so far the necessary controls such as play, pause, change video, mute, unmute all appear to work fine through JavaScript. I now need to send the chromeless player to "Full Screen" mode via JavaScript.
The JavaScript API player includes the full screen button but the chromeless player does NOT; infact; the chromeless player is not supposed to contain ANY button. I therefore need to set full screen mode via JavaScript but could not find any documented method for this.
I do not want to intertop between c# and AS3 or here. I want a full screen content player in C# which can host a Adobe Flash swf file. Is there an example? In full screen, right clicks would have custom behavior attached.I saw one in Visual c++. As per Chris's I checked the link. I tried adding these lines of code:
I am working on a presentation that will be shown in full screen mode. And have 2 things I need help with... well I'm sure I have more but right now I'm dealing with these two ; ) At one section I have a video that plays in the background. Right now it takes a bit to load, so there is just the color of the stage, then the video plays. Is there a way I can preload the video so it will be ready to play instantly? Or do I need to just put an image behind the video?
Secondly, when I test the presentation now, when ever it get to the section with the video, it breaks my file. Buttons don't work. I'll get error messages. How can I get this to stop happening?