Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Youtube Video Player


Hello, can anyone help me on how I can create a video player in Flash such as the ones you see in youtube.com? I would like the video to start playing while it's still loading. Right now my videos are set to load completely before playing.
Thank you in advance.




FlashKit > Flash Help > Flash MX
Posted on: 01-01-2007, 03:01 PM


View Complete Forum Thread with Replies

Sponsored Links:

How To Connect Flash Video Player(like Youtube) To Live Streaming Video The Programm Like
How to connect flash video player(like youtube) to live streaming video the programm like webcamXP?
Or through a browser to look in a videoplayer video from other usual personal computer with the program for a video broadcasting from the web chamber.

View Replies !    View Related
How To Connect Flash Video Player(like Youtube) To Live Streaming Video The Programm Like
How to connect flash video player(like youtube) to live streaming video the programm like webcamXP?
Or through a browser to look in a videoplayer video from other usual personal computer with the program for a video broadcasting from the web chamber.

View Replies !    View Related
How To Connect Flash Video Player(like Youtube) To Live Streaming Video The Programm Like WebcamXP?
How to connect flash video player(like youtube) to live streaming video the programm like webcamXP?
Or through a browser to look in a videoplayer video from other usual personal computer with the program for a video broadcasting from the web chamber.

View Replies !    View Related
Video Sharing Site (like Youtube) With AS3 Video Player?
I was planning on using YouTube to upload some content then stream the videos (as swf's) back into my project. The problem is that the YouTube player is AS2 so I have to use some workarounds to be able to control the video. I was wondering if there were any other video sharing sites that used an AS3 based player so I could control it from within my own code without the workarounds needed for you tube.

View Replies !    View Related
Youtube Video Player
hello friends,

I need a player like youtube.Where can i get player like youtube.
pls help me.

regrads
harilal

View Replies !    View Related
Youtube Video Player
Hey all, this is my second topic on this experiment. I've added quite alot to my Youtube video experiment. I was just wondering what you though of it.

breefield.com/tube/breetube.zip

Ask any questions you have.

View Replies !    View Related
Youtube Video Player
Hi everyone
Our site http://atalamo.com , and I need the video player like Youtube but works with ASPX.
Who can help me ?
Thanks a lot

View Replies !    View Related
Youtube Video Player
hello friends,

I need a player like youtube.Where can i get player like youtube.
pls help me.

regrads
harilal

View Replies !    View Related
Video Player Like YouTube Is That Possible?
Hi all,

I'm using JW (jeroenwijering video player) and its nice enaugh.. there you can play many videos from play list... the videos in playlist showing below the screen... but i want it show after the movie end.. when a movie end in you tube you can see the previous and next scence..

any one can do it please??!

View Replies !    View Related
How Can I Create A Video Player Like Youtube.com
Im seeing them everywhere but i like the one at youtube.com

Its a simple video file but with a cool flash interface. The part im really interested in is the loading bar. The bar loads but the video steams what it can, and you can even click on it to get to that part of the video.

How can I create this? Plus what compression are they using?

Thanks

Tim

View Replies !    View Related
Youtube Video Player, Slider Thing
http://www.youtube.com/watch?v=RLHdwddwRdE


how do i make the slider effect, that shows the video 1. downloading 2. being able to view anypart of the movie you want. by sliding across.

thanks

View Replies !    View Related
How To Play YouTube Video In The Flash FLV Player
Hi to all,

I have a problem.

I have a flash file which has a FLV player in it. Now in the FLV player display a flv file. But i need some changes.

I want to play a You Tube video in that FLV playback in the flash file. i have a code of that You Tube video.
The code is:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Kd6TrNMbBi4&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/Kd6TrNMbBi4&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>


The code is also attached. Plz find the attachment.


My ouestion is How to play this You Tube link in the flash file.

Does anyone know how to solve it in Actionscript 2.0 ?
Is there any other cool and easy way to stream youtube videos in flv player?

Please advice,
chandrani

View Replies !    View Related
How To Create Youtube Video Player With Next And Previous Playlist In Flash
i want to create exact youtue video player in flash with next and previous playlist slides popup when we move our cursor over the left and right corner while video is playing as i shown in the picture link below.

http://img135.imageshack.us/my.php?image=youtubedw7.png

View Replies !    View Related
Flash "wrapper" Around A YouTube Video Player?
Can someone tell me what is causing my Flash file to be incapable of playing a YouTube video? What I have created is basically a Flash "wrapper" that embeds a YouTube SWF file inside an object. When I compile the SWF and play it within an html file on my local computer, all is well. However, when I upload the same file to my server, the video refuses to play.

When I view the LiveHttpHeader logs, we see calls to a crossdomain.xml file:

<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>


So it appears that the cross-domain isn't the problem - - - it's set to allow playback on non-YouTube sites.

Any thoughts on the matter are greatly appreciated.









Attach Code

Security.loadPolicyFile("crossdomain.xml");

var embedme:String = "http://www.youtube.com/swf/l.swf?video_id=hVkEHBbv4Fg&rel=1&eurl=&iurl=http%3A//i.ytimg.com/vi/hVkEHBbv4Fg/default.jpg&t=OEgsToPDskLXySocnkEWAaWqA5rvjkmb&hl=en";

var movieGetter:Loader = new Loader();


movieGetter.contentLoaderInfo.addEventListener(Event.COMPLETE, loaded, false, 0, true);
movieGetter.load(new URLRequest(embedme));

function loaded(evt:Event):void
{
var textfield:TextField = new TextField();
textfield.text = "see if this loads...
";
textfield.x = 50;
textfield.y = 50;

addChild(textfield);



addChild(evt.target.content);

textfield.text = "made it past video getting added";

}

View Replies !    View Related
Youtube Player
Hi everyone !
I'm finding my video player for my website http://www.atalamo.com
I finded the Player like youtube player.But It only run normal when you use PHP language.

Who know the Player like Youtube but using ASPX.
Thanks for your help !

Best regards !

View Replies !    View Related
Youtube-like Player
How does youtube manage to allow its users to navigate within sections of unbuffered content?

Is playing the flv's in a MediaDisplay component the best way of streaming video in flash?

View Replies !    View Related
Youtube Player
Hi everyone !
I'm finding my video player for my website http://www.atalamo.com
I finded the Player like youtube player.But It only run normal when you use PHP language.

Who know the Player like Youtube but using ASPX.
Thanks for your help !

Best regards !

If you want The Player like Youtube and your site use PHP language !
Email to me!

View Replies !    View Related
Youtube Player
Hi everyone !
I'm finding my video player for my website http://www.atalamo.com
I finded the Player like youtube player.But It only works normal when you use PHP language.

Who know the Player like Youtube but using ASPX.
Thanks for your help !

Best regards !

View Replies !    View Related
Youtube Player
Hi everyone !
I'm finding my video player for my website http://www.atalamo.com
I finded the Player like youtube player.But It only works normal when you use PHP language.

Who know the Player like Youtube but using ASPX.
Thanks for your help !

Best regards !

View Replies !    View Related
Youtube Player
Hi everyone !
I'm finding my video player for my website http://www.atalamo.com
I finded the Player like youtube player.But It only works normal when you use PHP language.

Who know the Player like Youtube but using ASPX.
Thanks for your help !

Best regards !

View Replies !    View Related
Youtube Player
Hi everyone !
I'm finding my video player for my website http://www.atalamo.com
I finded the Player like youtube player.But It only works normal when you use PHP language.

Who know the Player like Youtube but using ASPX.
Thanks for your help !

Best regards !

View Replies !    View Related
Youtube Player...
Okay, so I go on youtube to watch some movies, and when I get on, it says I don't have the latest version of flash. so i get it installed, and then when i go back to the page, the browser prompts me to install the plugin, so i do, and when i get back to the page, it shows the player, but it just keeps loading forever! And no, I'm not just impatient, I left it on overnight, and it was still loading! I've tried all sorts of security adjustments and firewall settings, but nothing works! HELP ME!

View Replies !    View Related
Youtube Player In SA Flash
I'm trying to get a youtube player to work in the standalone flash player and I can't seem to get past the security issues. I found this thread (http://www.actionscript.org/forums/s....php3?t=122501), but that doesn't seem to be working for me. When I load the URL to the YouTube movie into the container clip, the player displays with the initial image from the video, but if I click the play button on the player the player window goes black and the loading animation plays continuously. It doesn't actually play the video. Whenever this happens, it prints this to the output panel:

Code:
Connection to null halted - not permitted from http://www.youtube.com/swf/cps.swf
-- Remote SWFs may not access local files.
I've tried adding the following security directives, but that hasn't helped:

ActionScript Code:
Security.allowDomain('www.youtube.com');
Security.allowDomain('gdata.youtube.com');
Security.allowInsecureDomain('gdata.youtube.com');
Security.allowInsecureDomain('www.youtube.com');

The URL to the YouTube movie I'm trying to load (http://www.youtube.com/v/ua0_88OwrRs) works fine if I paste it directly into a browser, so I know the video file is there and working. It's just the flash security that is the problem. Has anyone overcome this or know how I can overcome this?

Thanks,

View Replies !    View Related
Loading A Youtube Player
I'm trying to add a two videos from youtube in my swf. So, only de frist it's working (I don't know why).

Obs: click "another video" to see him

See my code:







Attach Code

package {
import flash.display.*;
import flash.net.URLRequest;
import flash.events.*;
import flash.text.TextField;

import flash.system.Security;

public class ItsComplicate extends Sprite {
private var video:Loader;
private var window, buttonAnother:Sprite;
private var maskWindow:Sprite;

public function ItsComplicate() {
Security.allowDomain('*');

stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;

this.window = new Sprite();
this.window.name = 'window';

this.video = new Loader();
this.video.name = 'ItsComplicatePlayer';
this.video.load(new URLRequest('http://www.youtube.com/v/Dh_vuplOSR0'));

this.configureListeners(this.video.contentLoaderInfo);
addChild(this.window);
this.window.addChild(this.video);

this.buttonAnother = new Sprite();
this.buttonAnother.name = "buttonAnother";
this.buttonAnother.x = 10;
this.buttonAnother.y = 40;

var buttonAnotherText:TextField = new TextField();
buttonAnotherText.width = 80;
buttonAnotherText.y = 2;
buttonAnotherText.mouseEnabled = false;
buttonAnotherText.text = "Another Video";
this.buttonAnother.addChild(buttonAnotherText);
this.buttonAnother.addEventListener(MouseEvent.CLICK, buttonAnotherClick);
this.buttonAnother.buttonMode = true;
this.window.addChild(this.buttonAnother);
}

private function buttonAnotherClick(event:MouseEvent):void {
this.video.unload();
this.window.removeChild(this.video);
this.video = null;
this.video = new Loader();

this.video.name = 'ItsComplicatePlayer';
this.configureListeners(this.video.contentLoaderInfo);
this.window.addChild(this.video);
this.video.load(new URLRequest('http://www.youtube.com/v/Nby0Nnejo8k'));

}

function configureListeners(dispatcher:IEventDispatcher):void {
dispatcher.addEventListener(Event.COMPLETE, completeHandler);
dispatcher.addEventListener(Event.INIT, initHandler);
}

function completeHandler(event:Event):void {
/*event.target.content.stage.scaleMode = StageScaleMode.NO_SCALE;
event.target.content.stage.align = StageAlign.TOP_LEFT;
trace("loaded: "+ event.target.content.root);*/
}

function initHandler(event:Event):void {}
}
}

























Edited: 11/30/2007 at 10:23:23 AM by lucasfc

View Replies !    View Related
Embedding A Youtube Video
Can anyone help me by telling me how i would embed a youtube video in my flash 8 website?

View Replies !    View Related
[MX04] Help With YouTube Video
Hello

I am a new flash designer and was wondering if it is possible to create a link to a youtube video and have it open in a targeted spot on my Flash page.

Thanks in advance.

View Replies !    View Related
Loading Youtube Video
Hi,
maybe somone can help me:

I tried to load a video located at youtube into my flash website.

myMC.loadMovie("http://www.youtube.com/v/FzI5VtUhH7g&autoplay=1");

It works basicly, but it seem that the scaling of the video is done inside the youtube player and the player scales to the size of the _root movie.

I also tried to set the size of "myMC" after the "onLoadInit" and during "onLoadProgress" via a moviecliploaderm - without succes.

Thanks

rkoch

View Replies !    View Related
Embedding A Youtube Video
Hi All,

Quick question, is it possible to embed a youtube video into a flash movie? I know it's really simple to do this in html, but what about Flash?

Cheers,

Jonny

View Replies !    View Related
Embed Youtube Video
Hi,
I have a simple flash movie but would like to have a youtube video included. I have the file as .swf and can convert it to any type. I have done it in version 9 but i need it to work for 7 as2.
Thanks in advance.
Ben Hathaway

View Replies !    View Related
Youtube Video Gallery
Hi,

Once I found a very great interface to a gallery with floating video-thumbnails that were loaded from youtube ...

However, I'm looking for a great-looking video gallery for my site that will play videos from youtube.

Does anyone familiar with a free great-looking gallery ?

Best regards,
Dimitry Haritonov

View Replies !    View Related
Embedding A Youtube Video
hey guys,

need the code to embed a few youtube videos and attaching pdf file.

thanks a ton

View Replies !    View Related
How Do I Unload A YouTube Video?
I used the following code to load a YouTube video onto a flash website:

Code:
this.createEmptyMovieClip("video_mc", 10000);
setProperty(video_mc, _x, 275);
setProperty(video_mc, _y, 150);
this.video_mc.loadMovie("http://www.youtube.com/v/wNIlpIwr6yE&hl=en.swf")
Worked great, but there is a big problem. The video WON'T GO AWAY! It shows up on every page there after.

Does anyone know how to remove it from the other pages (Actions keyframes)?

I tried putting -
Code:
this.video_mc.unloadMovie("http://www.youtube.com/v/wNIlpIwr6yE&hl=en.swf");
on all the other pages, but not surprisingly it caused a scary error.

Thanks in advance!

View Replies !    View Related
Youtube Video In Flash
Hi guys,

I'm trying to play an youtube video inside my flash site but I don't even know where to start can anyone please help me?

Thanks for the attention!!

View Replies !    View Related
How To Tell When YouTube Video Is Finsihed
I am able to put a YouTube video into a flash page. My flash movie is only two frames. Frame 1 is a button which will move the movie to frame 2 where the youtube video plays. The following is the code to put the youtube video into the movie.

this.createEmptyMovieClip("video_mc", 10000); this.video_mc.loadMovie("http://www.youtube.com/v/6uh4OS1lFUI&hl=en&fs=1&autoplay=1");

What I would like to do is unload the youtube video and move the movie back to frame 1 when the youtube video is finished. But I do not know how to tell when the youtube video is finished. I was thinking that using _currentframe would be a way of telling. Any help would be greatly appreciated.

Thanks ... Michael

View Replies !    View Related
Display Video Like YouTube?
I am anything but experienced in flash, and I can't find much online.

Can anyone point me to a tutorial/source/something or know how to display an external movie inside a flash file?

View Replies !    View Related
How To Add A YouTube Video To Flash CS3
i Have no clue in how to add a YouTube video to flash CS3 .... can somebody help ?

View Replies !    View Related
Load Youtube-player Into Flash ?
hi, i'm trying to launch a extern embedded movie player into my flashfile.
I used to convert movieclips into swf, but it would me more efficient to load an embedded player...
I want to play the video into a 'tv-screen' so, it's not an option for me to load the player in a dreamweaverfile or so...
is it posible at all, if yes, please anybody, help me on this...!!!
thnx

View Replies !    View Related
Youtube Like FLV Player, Actionsript Problem
Hello! I am new to this forum. I need help making a Youtube like player... I have a deal with a company called Interoute, they provide the flash media server and gives me a url to my movie. It looks something like this:

rtmp://fl.interoute.com/streamrt/{c61a9e68-7458-48a3-8498-3374f8eab}/{94daf70d-aa43-4e23-9211-1ce6297a16}/230.flv

I have read some threads and tutorials and I think I need to use this code.

connection = new NetConnection();
connection.connect(null);
stream = new NetStream(connection);
video.attachVideo(my_video);
my_video.setBufferTime(10);
my_video.play("my_movie.flv");

Am I supposed to replace "my_movie.flv" with the above URL? It seems a bit to easy and It doesnt work.

Thanks in advance!

View Replies !    View Related
Flash Player Like Youtube Or Veoh
Hi,

I just download the Geovid AVI to Flash converter and got the flash video file but I want a cool player to embedded on my website, can you guys advice me how to go about this?

I want a player like how youtube or veoh for instance.

Dee,

View Replies !    View Related
Playing YouTube In A Custom Player
Hi guys. I was thinking about adding some YouTube clips to my site. The problem is that I do not want to have the YouTube branded player on my site. I was thinking about using a custom FLV player; but with the source flv from YouTube.

Do you think this is 'illegal'? Do you know of any other sites who is doing this?

Thanks

View Replies !    View Related
[F8] Inserting Youtube Video Into Flash
i am making a web page with flash. it uses actionsript2. i was wondering if i can put an utube video into my flash page, with out using frames. can i load a html page via xml or java script. the html page would have the youtube video Embed.
the reason i want do that is to save bandwidth. my swf is for flash player 7

View Replies !    View Related
Embedding A Youtube Video And Getting Info From It...
i haven't posted anything on these forums for years so hopefully they're still as amazing as they used to be... i also haven't used Flash much since then either, so going from Flash5 to CS3 with AS3.0 is a bit of a leap. but i've watched the lynda.com videos and think i can do this. the good thing is that its just a little fun thing im doing for myself my spare time so if i realize the transition is harder than i thought, its not a big deal. in fact if its going to be A LOT harder than i thought, i might have to move this post to the freelance forum

ok, so the first stage of my project (in my mind) flows as follows:

main movie loads, there is an input box, user pastes youtube.com url into it and clicks a submit button.

from that youtube url, main movie determines the embed link provided by youtube (not sure if this requires tying into the youtube API) and displays the youtube movie and its native playback controls on the stage. main movie also determines the length of the youtube movie and stores it for later use.

at that point the user is free to watch/interact with the movie just like any other youtube video they would watch.


so my questions to you...

based on the youtube url, is there a way to capture the swf embed link they provide so i can then load their swf into mine?

from their player, is it possible to determine the length of the .flv it is playing? and possibly 'track' what time the playhead is at? (this is part of the second stage of my project)

based on what ive told you, can you give this a difficulty rating on a 1-10 scale, 1 being easy, 10 being "dont bother, just pay to have someone who knows what they're doing do it"

also, if i do decide to pay for help, what would you consider a fair price for something like this... flat fee, half up front, half on completion, hourly, etc?


thanks everyone!


.//chris

View Replies !    View Related
[MX] How To Embed Vimeo/youtube Video
I want to create a site that has an embedded vimeo video, how can I do that in flash? (just to clarify- i do not have the source video file, its just a video from a free video hosting site that someone else posted)

thanks,
mark

View Replies !    View Related
Youtube Video Embedded In Flash 8
does anyone know how to tell when a youtube video has finished playing from within a flash container?
i can embed the youtube player, but i don't know how to tell when it's done playing the video.
also, anyone know how to control the play/pause or other functions from the container?

thanks in advance for any help.....

View Replies !    View Related
- What's The Deal With YouTube's Video Resolution?
I am preparing a flash video for a website that will also double-up on
YouTube.

Since the website's format is loose, I decided to look up youtube's specs
and conform to those.

According to...
http://www.google.com/support/youtube/bin/answer.py?answer=55745&query=resolution&topic=&type=

...they recommend 320 x 240 resolution (4:3)

However, a screenshot imported in Photoshop reveals the dimensions are
actually 450 x 370 with the controls, 450 x 338 without. Neither of them
respecting 4:3 proportions.

What gives? How do we achieve 1:1 pixel mapping on YouTube? What are we
supposed to upload so it won't stretch?

Thanks.

View Replies !    View Related
Click To Play Video - Like Youtube
Sorry for the double post, I put this in the wrong place...

Creating the FLV file and placing a flash video on a webpage with the video controls, is easy enough but I need to have an intro screen.
Something like a 'click to play' frame like Youtube does.
I'm not sure if it is a Jpeg, that you click and it loads the swf or if it is actually in flash.
I assume it would begin buffering before the use actually clicks play.

Any ideas ? A tutorial would be great. I can't find anything on the Adobe.com or Google.

View Replies !    View Related
Load Youtube Video In A Movieclip
hello all,
i m trying to load youtube videos in my flash8 application.i m using this code:--

System.security.allowDomain("

View Replies !    View Related
Embed YouTube Video Into Flash?
Can I embed a YouTube video into Flash?

Is this possible? How Do I do this?

Really appreciate any help. Thanks!

View Replies !    View Related
Fullscreen FLV Video (youtube Style)
Hi,

hope you can help, so after user presses a button, current flv playing is set to fullscreen. then pressing 'esc' turns off fullscreen mode (similar to youtube)

if I can do this without javascript, it would be nice

Thanks!!!

View Replies !    View Related
Youtube Video On Flvplayback Component
Hi there...

is posible, load in flv component youtube video... any examples...
any tutorials...

tnxs

View Replies !    View Related
Creating YouTube Like Video Wrapper
here's what I want to do:

Create a video player much like Lee's that has the following characteristics:
- "frontpage" still that when clicked triggers the play event
- link to above still and video in embed code so that the same swf can be used to display numerous different jpg and flv files.
- no xml or other external file control. it has to be in the embed code to work in a blogging context.

The whole idea is to be able to embed a customized player in blogging software without having to use YouTube or similar services.

I think this can be done with flashVars or something like that but I'm sketchy on the details. If anyone has any ideas it would be a great help 'cause YouTube just won't do - I need more control.

mor10

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved