Controls not showing in FLVplayback FLV Playback
A very quick post today but this might be helpful to fellow Flash’rs.
I couldn’t get the controls of FLVPlayback to show when uploaded on a live server.
After an hour or so of looking for the solution, i worked it out.
The skin / controls are published in its own .swf, that is quite straight forward.
What you need to do however, is place the MojaveExternallAll.swf ( in my case, but can be any skin ) in the same directory as the file producing the swf code. This was showreel.php found in the root directory. By simply moving your skin file in there ( the root directory), will solve the problem and the FLVPlayback controls will now show. This is because of the way SWF Object works. There is a method that you can edit the component file, but for the sake of one tiny .swf file in the wrong directory, i dont think its worth the hassle. I hope this is helpful, if anyone is having the same problem.

September 23rd, 2007 at 8:57 pm
Not always the case. My controls aren’t showing but the .html file and the video swf, as well as the skin swf, are all in the same folder/directory, all uploaded, but won’t show online.
December 11th, 2007 at 1:08 pm
Same here Ryan.
Craig
October 9th, 2008 at 1:57 pm
Worked for me thanks for the solution!
November 7th, 2008 at 3:07 pm
The control swf, MojaveExternallAll.swf or whatever you’re using, needs to be in the same folder as the file requesting the main swf. This may or may not be the root directory of the server.
[quote]
controls are loaded relative to the page, not the player.swf file. so if you have the page in www, player in www/images and controls in www/images, it doesn’t find it. controls have to be in www.
[/quote]
Thanks scott_allen13
http://www.actionscript.org/forums/showthread.php3?t=128817
November 7th, 2008 at 3:57 pm
OK – after further investigation I’ve found how you set where the FLVPlayback component loads its controls (skin) from.
If you go to component inspector in flash (from the Window menu), then select the FLVPlayer on the stage you can access the properties.
Parameters->skin lets you specify a custom skin URL. This path is taken as relative to the calling page, and is blank “” as default.
I set mine to something like “/images/flashfiles/yourownserverpathhere/ClearOverPlaySeekMute.swf”
Now of course make sure the skin.swf IS actually there and it is a valid server path. When you run the player online it will work.
NOTE it will NOT work anymore when you run the fla, or play your files anyway other than from the server.
December 18th, 2008 at 1:23 am
Dude you just saved my ass! Was taking me ages to work out what was going on. Cheers.
December 23rd, 2008 at 12:12 pm
fine. But what if the player-SWFs and the skin.swf is located on server A and a server B embeds it as HTML object ? Flash doesn’t seem to load additional libs from an external source.
I played around with lots of controls, embed mechanisms in Flash but not one of my trials was successful.
Ideas anyone ?
December 23rd, 2008 at 2:11 pm
found a solution myself:
don’t embed the FLVPlayback control in the stage manually. Spawn an instance in AS, set the properties and skin it with a file-pointer to an external (http-) source. If that doesn’t work, give Security.allowDomain( sourceDomainOfPlayerWithouthttp:// ) a try. Here’s some code for nicey looking player that runs everywhere:
Security.allowDomain( “location.of.your” );
var playerSkinURL: String = “http://location.of.your/skin.swf”;
player = new FLVPlayback();
player.autoPlay = false;
player.skin = playerSkinURL;
player.scaleMode = VideoScaleMode.EXACT_FIT;
player.volume = 0.5;
player.skinBackgroundColor = 0×666666;
player.skinBackgroundAlpha = 0.6;
player.skinAutoHide = true;
player.skinFadeTime = 0.5;
player.x = 0;
player.y = 0;
player.skin = playerSkinURL;
player.visible = true;
player.getVideoPlayer(player.activeVideoPlayerIndex).smoothing = true;
addChild(player);
December 30th, 2008 at 2:53 pm
Fantastic! I’ve been struggling with this issue for some time, and I’ve even resorted to using other video player components in the past. I’m very happy I can count on the built in FLVPlayback component now.
Thanks!
April 26th, 2009 at 11:46 am
Legend! I’ve been stuck on this for a few days now. I new it had something to do with the location of the skin, just took someone smarter than me to figure it out!
Thanks!
July 3rd, 2009 at 8:34 pm
Thank you! I was going nuts over this
July 27th, 2009 at 3:06 pm
Worked like a charm. Here’s to Media Surgery, saved my ass with this solution!
Thanks a million!
September 9th, 2009 at 7:51 pm
You saved me a lot of headache.
Thank you!
September 13th, 2009 at 7:36 pm
Thanks, your solution worked beautifully and saved me a lot of time/stress.
October 9th, 2009 at 2:43 am
You guys could just load the skin using action script. Just named the FLVPlayBack instance, let say we name it “video”.
Then just add this code to load the skin.
video.skin = “/swf/SkinUnderAll.swf”
October 16th, 2009 at 2:09 pm
Thanks a million. Been struggling with this for the last 24 hours!
October 30th, 2009 at 6:22 pm
I’m trying this but it doesn’t seem to work. Not sure what i’m doing wrong. I have that code in my Actions layer with the component in the library not on the stage. For Security.allowDomain I have the domain where the swf & flv resides… eg http://www.hyperweb.ca.. correct?
December 14th, 2009 at 9:06 pm
I was having the same problem which was driving me crazy…
What fixed it for me was manually dragging my ClearOverAll.swf file into the same folder as the HTML. (I generally hold .swf in the images folder.) The normal .swf was working fine, just that the controls wouldn’t appear. By pulling the control swf out of the images and into the html folder, it solved the problem.
Thanks all!
B
February 15th, 2010 at 10:06 pm
Thanks so much for this tip – it fixed the issue I was having! I was working with a joomla site and never thought that the swf files couldn’t be in a subdirectory…thanks so much!
February 16th, 2010 at 3:39 pm
This really worked! I was racking my brain trying to figure this out, almost had to go back to the old AC_RunActiveContent.js (didn’t want to), but this solved it! Thanks so much!
August 12th, 2010 at 5:57 am
Bjorn Simundson, I love ya man… I was trying to make a SE friendly flash intro and couldn’t get the skin up there… Turns out all I needed was a little directory debugging…
It works, just put your skin inside the same folder as your HTML or PHP or whatever you use, and it will do wonders… Thanks Bjorn
August 12th, 2010 at 5:58 am
BTW, my site is thesixlongwells(dot)com/marcus/aa/site/
August 12th, 2010 at 5:59 am
So check out my source for SE friendly flash intros: thesixlongwells.com/marcus/aa/site/