ActiveDen

YouTube Video Player

  • Has been a member for 3-4 years
  • Bought between 100 and 499 items
deejayhart says

Hi there – any chance of doing one like this with multiple playlists? That would be FANTASTIC .

3 years ago
  • Has been a member for 5-6 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Romania
  • Referred between 50 and 99 users
vamapaull says
Author

@deejayhart – already done ;) http://activeden.net/item/youtube-video-player-with-combobox/43496

3 years ago
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
janc says

Hey, how do i get the “YouTube video ID” for a video that i uploaded?

3 years ago
Author
vamapaull vamapaull replied

If you want more details you can read info.txt after you download the source files ;)
After that, if you have any more questions you can email me through my flashden profile

3 years ago
  • Has been a member for 5-6 years
  • Bought between 50 and 99 items
wehren says
Purchased

If you only have one video, how would you go about setting it up to not autoplay and for it to display the video still so the visitor would know that they can play a video and also display that same image after the video has completed?

3 years ago
Author
vamapaull vamapaull replied

Right now this player dose not have an autoplay feature so you can change it to autoplay or not.

3 years ago
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
ntcmpr says

.

3 years ago
  • Has been a member for 5-6 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Romania
  • Referred between 50 and 99 users
vamapaull says
Author

An update has been made and now the player includes the volume control.

3 years ago
  • Has been a member for 3-4 years
  • Bought between 1 and 9 items
joscal says
Purchased

First of all; thank you for the great job.

I like to use the player with movie-id’s from a PHP variable instead of the XML file content. Since I am a rookie in flash, I like to ask if it is easy to adapt or not, and where should I looking for?

3 years ago
  • Has been a member for 3-4 years
  • Bought between 1 and 9 items
joscal says
Purchased

I already found it. It is a dirty workaround, but it’s does do the trick.

I created a new parameter ytmid: mainswf.addVariable(“ytid”, ”<?php echo $_GET[“ytmid”] ?>”);

In action script I changed the line: theVideos.push(nodes[i].firstChild.nodeValue); into: theVideos.push(_root.ytid);

3 years ago
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
dyzine says
Purchased

probably works well as a stand-alone (im not sure thats not what i bought it for) but its absolutely horrible as part of a flash site. the actionscripting conflicts with just about any other code it seems. I’ve tried to use this in various flash-based projects and it’s always the same problems, so i havent been able to use it at all yet. maybe one day i’ll need a simple stand-alone player in an html file…

3 years ago
Author
vamapaull vamapaull replied

If you have any problems implementing this player in your project you can always send me an email through my flashden profile and explain the problems that you have ;)

3 years ago
  • Has been a member for 3-4 years
  • Bought between 1 and 9 items
joscal says
Purchased

For some reason the videos won’t play in IE8 . FF has no problems.

Even the sample on the top of this page doesn’t work. Is a local system problem, or has someone the same problem?

3 years ago
Author
vamapaull vamapaull replied

I just tested it
It works fine in IE 8
Check and see if you have Flash Player on IE.
If you still have problems please send me an email through my flashden profile.

3 years ago
  • Has been a member for 5-6 years
  • Sold between 1 000 and 5 000 dollars
  • Bought between 100 and 499 items
wal_toor says
Purchased

How easy to implement. Great file. Thankz

greetz, walter

3 years ago
Author
vamapaull vamapaull replied

Thanks you! I’m glad you like it ;)

3 years ago
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
22media says
Purchased

hi am a newbie in flash.

i want to embed the player in my flash site.

how do i do that? from the .fla?

Thanks appreciate your help!

3 years ago
Author
vamapaull vamapaull replied

You can embed the swf file with the movieClip loader class or with loadMovie
Please send me a message through my profile if you still have problems.

3 years ago
  • Has been a member for 5-6 years
  • Bought between 100 and 499 items
  • United States
timmylogue says
Purchased

I purchased your XML based TV Channel file a little while ago and had a question about detecting when the flv video is done.

I figured that out. But now I need it for the YouTube Video Player :D

Question: How can I got about detecting when a youtube video is done? I need it to jump to a frame when a youtube video is done.

Another question: Is it possible to do a random on this YouTube Video Player? I saw it in the html code but can I add it into the action-script itself?

thanks :D

2 years ago
Author
vamapaull vamapaull replied

1. “onStateChange
This event is fired whenever the player’s state changes. Possible values are unstarted (-1), ended (0), playing (1), paused (2), buffering (3), video cued (5). When the SWF is first loaded it will broadcast an unstarted (-1) event. When the video is cued and ready to play it will broadcast a video cued event (5).”

2. You can add that html variable directly into the ActionScript code
Example: _root.variableName = “ture”;

2 years ago
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
JonathanHaselden says
Purchased

Hi there

Just purchased this, however it doesn’t let me get videos from You Tube, adobe pops up and says that it’s identified a potentially unsafe option as it’s trying to access an external site, and within Flash if I test the movie, i get this:

Can you help at all? Thanks

2 years ago
Author
vamapaull vamapaull replied

Can you please post a link to the player with your videos?
And a link to the xml file.
Or just send me a message through my profile so we can communicate via email.

2 years ago
  • Has been a member for 5-6 years
  • Bought between 100 and 499 items
  • United States
timmylogue says
Purchased

I need the this youtube video player to read the xml like this:

<video>03pYSwUSDdc</video>

is this possible? So I need to get rid of these:

<video_list>...</video_list>

thanks! :D

2 years ago
Author
vamapaull vamapaull replied

You have the source files. With some ActionScript 2.0 knowledge you can easily do that ;)

2 years ago
  • Has been a member for 5-6 years
  • Bought between 100 and 499 items
  • United States
timmylogue says
Purchased

haha I did it thanks!

2 years ago
  • Has been a member for 5-6 years
  • Bought between 100 and 499 items
  • United States
timmylogue says
Purchased

I have a headache trying to figure this out. If you can help me with this I would really appreciate it.

I removed the controls so I don’t have them anymore.

What I want to know is how do I kill the sound on the ytplayer all together. Isn’t there actionscript to kill the sound? (volume) I’ve tried so many ways. nothing.

please help.

Thanks.

2 years ago
Author
vamapaull vamapaull replied

In the item details here on ActiveDen you have this piece of text:

“If you load this player into another swf and then you want to unload it, just initiate (loader movie clip instance name).ytplayer.destroy(); before you unload the loaded swf player.”

If you have the player into a movie clip named “mc” then you should call: mc.ytplayer.destroy();

2 years ago
  • Has been a member for 4-5 years
  • Bought between 100 and 499 items
  • Referred between 1 and 9 users
MWCD says
Purchased

Great product :)

1 year ago
  • Has been a member for 4-5 years
  • Bought between 100 and 499 items
  • Referred between 1 and 9 users
MWCD says
Purchased

One question: Do you have a fix available for this so the player doesn’t stop if a video is not available for some reason. I create the playlist from the api and sometimes videos are not there, so it would be nice if it would skip a video and go to the next in the list if it doesn’t play. Any idea how to solve this?

1 year ago
Author
vamapaull vamapaull replied

Add this code to the onPlayerError function:
playNext();

1 year ago
Purchased
Default-user MWCD replied

Thank you so much – this did the job :)

1 year ago
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
  • Portugal
zas says

Hi,

Does this suport swf files? I want a player with playlist that playes swf files like it was a video file.

2 months ago
Author
vamapaull vamapaull replied

No. It’s a YouTube video player.

2 months ago
by
by
by
by
by