ActionScript 2.0 :: Fullscreen Functionality On Imported Youtube Player?
Feb 3, 2009I imported youtube player with the url given in my fla and I need to implement "FULL SCREEN" functionality for the video player which is loaded.
View 0 RepliesI imported youtube player with the url given in my fla and I need to implement "FULL SCREEN" functionality for the video player which is loaded.
View 0 RepliesJust wondering where I could get a flash video player that enables the user to embed the video like youTube functionality.URL....
View 3 RepliesI'm creating an image scroller in AS2 that pulls images into Flash from an external folder, as determined by an XML file. The program use a MovieClipLoader to load the external images into series of empty, and temporarily invisible, movie clips that are created inside a for loop. Once the attached listener determines that the clips are all loaded, their visibility is turned on and they begin scrolling. Everything had been going fine, until I tried to add functionality to each of the four images that had been loaded. All I want to do is generate a trace statement that says "success" when I mouse over each of the four external images in the scroller. I can use that as a springboard to continue working...
Here is the problem: "Success" IS traced out upon rollover, but only once - when you roll over the last image that was pulled in from the RSS feed and into the for loop. It does not apply to any of the other images. It seems like the functionality on the other images is created but them somehow instantly destroyed or overwritten as the for loop continues to run and the MovieClipListener updates itself. But I am not sure. If this were simply a series of movie clips or images being pulled in from the Flash library, I wouldn't have this problem. However, the external images and the MovieClipLoader are confusing things.
//Start For Loop Pulling from XML File {
//create movie clip that will hold next image pulled in from XML file var cImageHolder:MovieClip = scrollerBase.createEmptyMovieClip
("imageHolder" + i + whichRow, scrollerBase.getNextHighestDepth());
var mcLoader:MovieClipLoader = new MovieClipLoader();
[Code] .....
Im making a flash project in flash cs3 using As2.It is a large interactive game with imported external swfs throughout,Ive placed the lockroot code in all the external swfs.
When i play the external swfs on their own they play perfectly put when imported into the main.fla they don't work properly,some of the functionality doesnt work properly..As an example I have made a jigsaw game using drag n drop and targets, where the code
if(this._droptarget == "/dropTargetOne")
{
_root.dragger1.gotoAndStop("5");}
}
appears I have problems because the code _root.dragger1.gotoAndStop("5"); doesnt work when imported as an external swf.I've tried using this._parent but no success.So I think the problem is to do with using _root which I was hoping would be sorted with this._lockroot = true;
How to create the fullscreen functionality in FlvPlayback component.
View 3 RepliesI am importing a youtube video to a new movie clip using this script:
Code:
function containYoutube(youtubevar, depthLevel) {
this.createEmptyMovieClip("youtubecontainer",depthLevel);
this.youtubecontainer.loadMovie("http://www.youtube.com/v/"+youtubevar);
[Code].....
I need to be able to unload it if the user jumps to another part of the timeline. I have tried to just unload the movieclip, but it still seems that youtube is streaming data to the swf. If I do it locally, it crashes the application. If I put it on the server, it makes it clear that youtube is still loading even though the movie clip has been unloaded.
I have an application that is showing an imported mp4 with the playback component. The video is to be displayed at a fixed size on the interface. When I launch the app it works perfect. However this is a projector file that I need to launch in fullscreen mode.
For fullscreen I am using
ActionScript Code:
import flash.display.StageDisplayState;
stage.displayState = StageDisplayState.FULL_SCREEN;
The app opens up in fullscreen however the video is taking up the entire screen now.. I need it to hold its place on the interface in fullscreen mode.
i am working on youtube api player in as3 and stuck on fullscreen btn problem. Is there any inbuilt functionality to make it work
in as2 youtube work the code is
ActionScript Code:
var listener:Object=new Object();
Stage.addListener(listener);
listener.onFullScreen=respondFunction;
[Code]....
So right now I have a pretty simple audio player, it loads up and plays using this [code]...
So my issue now is I need to add fast forward and rewind capabilities, my thought was to have it actuate a movie clip which say sets it back 5 seconds then has a few open frames to play a section of the song then loop back if still pressed and do another 5 seconds etc.
there is a flash application which has a "Fullscreen" functionality. That simply means that there is a link within the flash application called "Fullscreen". And when you click on the "Fullscreen" link a fullscreen mode appears.Here is the flash application:Now what I want is to directly go into the "Fullscreen" flash mode by clicking on a html link (without loading the flash application before and clicking within the flash application).
View 2 RepliesI'm creating something like a video player with annotation functionality. I can load up the notes, with times at which they were made by people (as strings), and put these into an array to be utilized. I also know the current time of the flv video as it's playing.
So each note has a time attached to it, but how can I use these as triggers that fire dynamically in relation to the video's duration?
I have a custom flv player and i'm slowly adding more functionality to it as I go along but i've hit a wall.I want to add a subtitle button that toggles between show/hide. I've seen on the internet that the best way is to use an XML file (holding the script, times etc.), which I have no problem writing.I'm having problems trying to replicate the 'FLVPlaybackCaptioning' component (in Flash CS3) in to my custom flv player. I.E. Adding the right actionscript to my toggle button.
View 8 RepliesI am working on a Flash AS3 video player where I could mark a specific area of the seekbarThe video would then loop the time marked on the seekbar.
View 3 RepliesI have a custom flv player and i'm slowly adding more functionality to it as I go along but i've hit a wall.
I want to add a subtitle button that toggles between show/hide. I've seen on the internet that the best way is to use an XML file (holding the script, times etc.), which I have no problem writing.
I'm having problems trying to replicate the 'FLVPlaybackCaptioning' component (in Flash CS3) in to my custom flv player. I.E. Adding the right actionscript to my toggle button.
The current actionscript for my flv player is:
Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
[Code]....
Does split screen functionality is supported by flash player? How can we show two swfs at a time in Flash player?
View 1 RepliesI have a video player that doesn't have "seek from unloaded time" functionality. I want to add it now. I simply load video like this;
stream.play("vidurl.flv");
(pseudo streaming)
Server side is ready. I can call videos like videourl.flv?start=xxx but cant play them in player cuz video comes without metadata
To sum up:
1. stream.play("vidurl.flv"); works, video plays
2. user clicks to seek bar. on unloaded part. I get the position and convert it to seconds
stream.play("vidurl.flv?start=10");
Doesn't work! No metadata what I should do after?
I want to be able to add youtube videos on my site. The site is built using as2 xml etc...Maby there is some sort of a .swf youtube player that i can load into the site?I can provide the code & files if necessary but for now heres the site:flaw.seIf this is a stupid question and takes to much effort then im willing to pay a little sum..Beside that i want the pictures to stop scrolling 20 pixels from the right side of the webbrowser. I did get some help and added:[code]But then it stoped directly after the picture without any space. And last bit of the scroller dident really work right.
View 1 RepliesI am using a flipbook Flash/Actionscript 3.0 framework for a digital magazine[url]...
You can have videos embedded in the pages of the flipbook, but they can not be display fullscreen like Youtube videos, for example.
The flipbook can also import swf files to display as pages of the flipbook, so another way of embedding videos into a page of the flipbook would be to have the video player in the swf page you are embedding. This gives you more control over the style and the positioning of the video.
My question is: Is there a way with AS3.0 to togle the embedded video from normal predefined size to fullscreen and back?
i am trying to create a AS3 youtube player... and after i searched online and followed tutorials, i couldnt make any of them work due to errors.i always get this error [code]is it because i am testing it locally?
View 1 RepliesI need to know how i could create a flash player like youtube ....I want build a web site in which upload videos and play them with a my personal player.maybe i must learn actionscript 3 language, but is there a prompt code to utilize and modify according to my taste?
View 5 RepliesI have the following mark-up to load a YouTube video player in a jQuery Tools overlay:
<a rel="#YouTubeVideo_MZKORPYI0HM" href="http://www.youtube.com/watch?v=mZkoRpyi0HM" title="Watch the YouTube video">
<img src="http://img.youtube.com/vi/mZkoRpyi0HM/2.jpg" class="youtubeThumbnail
[Code]....
The page behaves exactly how I would expect in Firefox (all versions) and Chrome. However, in IE8 (and I have the latest flash plug-in), I see a "1 item remaining" message in the status bar and the overlay contains no flash player. Right-clicking on the grey space shows a "movie not loaded" message.
I'm using the YouTube API in my flex app to play videos and it works fine running on my computer and android, but I'm getting an issue when I try to use it on iOS, I just get a black screen!
View 2 Repliesi am trying to create a AS3 youtube player... and after i searched online and followed tutorials, i couldnt make any of them work due to errors..
[Code]...
I'm embedding a youtube chromeless player in to my website via actionscript 3, and I found this code that works fine [code]...
but I need to be able to position the player, and at the moment its anchored to the top left corner, didnt want to play about with the code without knowing what to do, also how easy would it be to add simple controls? play, pause, mute, replay
How to create a youtube style video player?
starting with flv1 playing
when it finishes we have buttons to go to 2 other flv files
clicking a button plays flv2 or flv3 in the same player
when flv2/flv3 finishes we see another button
if we click this button we replay the whole thing (so playing flv1)
this whole thing in one video player like youtube
I have created my FLV player. It plays FLV files by giving it the path of the FLV flile.
I'd like to play youtube videos within it by giving it the the URL of the video.
I'm trying to get size of a loaded youtube player, but it's not working (it's tracing 0):
fotoLoader = new MovieClipLoader(); fotoLoadListener = new Object(); fotoLoader.addListener(fotoLoadListener);
fotoLoadListener.onLoadInit = function(target) { trace (target._width);
}
fotoLoader.loadClip("http://www.youtube.com/v/"+"VhRas_qrz5Y", loader);
I'm using the Youtube AS3 Player API to load video's in a Flash Project. I get this really annoying Error when loading the Player swf:
SecurityError: Error #2047: Security sandbox violation: parent: http://www.degoudenglimlach.be/main.swf cannot access http://www.youtube.com/[[IMPORT]]/s.ytimg.com/yt/swf/watch_as3-vflbgr4dW.swf.
I tried adding the following to my code before loading the swf but it doesn't make any difference:
Security.allowDomain("*");
Security.allowDomain("www.youtube.com");
Security.allowDomain("youtube.com");
Security.allowDomain("s.ytimg.com");
[Code]....
I have my own video player, I've bought it from activeden. And im going to use youtube,dailymotion, video api with php. But i want to use my own video player. How can i do that?It takes list from a xml files like this;
<video_item>
<hd_video_path>.flv</hd_video_path>
<sd_video_path>.flv</sd_video_path>
[code]....
I have a swf file which loads the YouTube API player at 640px by 400px:
function onPlayerReady(event:Event):void {
trace("player ready:", Object(event).data);
player = loader.content;
player.cueVideoById( t***Path , "0" , "medium");
player.setSize(640 , 360 );
[Code]...