Go
Not registered? Sign up!

Custom Background / Border

Google Translate
8 posts | return to the Skins forum | get the rss feed for this thread

Oct. 03, 2009Tom

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

Oct. 05, 2009flashskins

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?

Oct. 06, 2009maheshchinthaka

rewretretretr

Oct. 09, 2009Tom

@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...

Oct. 10, 2009flashskins

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?

Oct. 11, 2009Tom

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

Oct. 11, 2009flashskins

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.

Oct. 11, 2009Tom

ok, thanks. we do some more development wink

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.