Hi there – any chance of doing one like this with multiple playlists? That would be FANTASTIC .
- Has been a member for 5-6 years
- Item was Featured
- Author was Featured
- Exclusive Author
- Sold between 10 000 and 50 000 dollars
- Bought between 1 and 9 items
- Romania
- Referred between 50 and 99 users
@deejayhart – already done
http://activeden.net/item/youtube-video-player-with-combobox/43496
Hey, how do i get the “YouTube video ID” for a video that i uploaded?
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?
- Has been a member for 5-6 years
- Item was Featured
- Author was Featured
- Exclusive Author
- Sold between 10 000 and 50 000 dollars
- Bought between 1 and 9 items
- Romania
- Referred between 50 and 99 users
An update has been made and now the player includes the volume control.
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?
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);
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…
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?
- Has been a member for 5-6 years
- Sold between 1 000 and 5 000 dollars
- Bought between 100 and 499 items
How easy to implement. Great file. Thankz
greetz, walter
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!
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 
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 
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”;
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:
- Security Sandbox Violation * Connection to null halted – not permitted from http://www.youtube.com/swf/apiplayer.swf —Remote SWFs may not access local files.
- Security Sandbox Violation * Connection to null halted – not permitted from http://www.youtube.com/swf/apiplayer.swf —Remote SWFs may not access local files.
Can you help at all? Thanks
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! 
haha I did it thanks!
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.
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();
Great product 
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?
Hi,
Does this suport swf files? I want a player with playlist that playes swf files like it was a video file.



109 Purchases
40 Comments