Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Custom Background / Border

7 replies [Last post]

Hi there,
is there any way to attach a custom image to the skin? I need this to build a "frame" around the player (it can't be done with CSS...). Tried to put it into "back" and changed the position of "media" to be e.g. x=y=10px but this doesn't seem to work?
Any idea appriciated, TOM

Is it just the video 'display' area you want a border?

Maybe try making the 'player' (via HTML/JS) bigger than your video clips? This may expose the 'back' in the 'display' MC?

rewretretretr

@flashskins- no, not really. see

http://4-seasons.tv/film/warren-millers-playground-trailer

this is done by putting (an old) JW-player into our own flash-app. Right now I want to use the (new) JW player WITHOUT embedding it into another flash but it should look like the old one. maybe the "border" could be done by html/css but i would prefer a proper skin...

I've played with skinning v4 quite a bit, and I don't think there's a way to do what you want within a single skin file. The 'auto-scaling' that JWP uses makes for a flexible player, but limits what you can do with skin design.

What you've done looks really nice though. This could easily be done with CSS (background-image property). Or maybe carry on with embedding it in your own app?

hi, thanks for your comment- that's what i think too. some things like fullscreen etc. are more complicated when embedding the player in your own app so i think css is the way to to it...
one more question- as you've played with skinning. as you see we are currently using only half of the width for the controls and display the movie title to the left. can this be done with a skin or do the controls always take the whole width? can movie information like title be displayed at a custom position (i only know it can be displayed before the movie starts right on the "stage"? and last- what exactly is the problem with compiling skins with cs4 (i only have cs4 and it seems to do well, but maybe some functions are not supported then)?

thanks for you help!
tom

Controls will auto shift left or right, or if they're close to the centre of the the control bar they'll stretch to fill any available space. Generally the progress/scrub bar does the stretching bit in the middle. So you could only use half of the space on the overall control bar (short progress bar) . There's a bit of trial and error involved, because things only stretch if they're over a certain percentage of the whole control bar width. Sorry it's quite hard to explain?

For adding info like 'titles', where you want, you'll probably need to do some custom scripting on the AS3 files for the actual Player.fla (there's a 'com' directory that has all the Player external classes, that compile when you export to SWF). There may also be some options in the add-ons section for this? I've don't think you can add much logic in the skin SWF.

I've avoided using CS4 for JW skins (I have CS3 installed too), because people have mentioned compile errors. Maybe JW or Adobe have fixed this, I don't know to be honest.

ok, thanks. we do some more development ;)