JW Player

0
Does anyone know how to have the player start in FILL. I dont want users to have to right click on the player and select it. I want it by default. Can GERMI help?
Responses (12)
  • Accepted Answer

    Friday, May 20 2011, 10:49 AM - #Permalink
    0
    sorry, I don't undrstand what you are asking for.. :S

    what you mean "start in FILL"?

    right click on the player? why?
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Friday, May 20 2011, 10:55 AM - #Permalink
    0
    I think it is a new flashvar in the latest player. I don't think it is used much. Fill would stretch a video to the full screen, but would end up cropping it. Most people would keep it at it's default setting of uniform which is what it uses if it is not set. That way it uses the whole area, but does not crop the video or change the aspect ratio. No idea why any end users would right click to do this though on any videos.


    stretching ( uniform )

    Defines how to resize the poster image and video to fit the display. Can be:

    none: keep the original dimensions.
    exactfit: disproportionally stretch the video/image to exactly fit the display.
    uniform: stretch the image/video while maintaining its aspect ratio. There’ll be black borders.
    fill: stretch the image/video while maintaining its aspect ratio, completely filling the display.




    Found at http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12536/configuration-options#behaviour
    The reply is currently minimized Show
  • Accepted Answer

    Friday, May 20 2011, 11:56 AM - #Permalink
    0
    Yes i mean have the play start in "Fill" mode automatically im not going to have video just music. I want the Album covers to stretch to the full width of the player. Check the link i have attached. Its a video Thank you.

    http://www.box.net/shared/o0beehbd3s
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Saturday, May 21 2011, 12:53 AM - #Permalink
    0
    You could prob hardcode the flashvar for that. What I did instead was make all my images square so they had the same height and width and then set the player to be a little bit higher so that it would factor in the player bar in the bottom. I think it was like 10 pixels more in height. That way I never have any spaces on either side. Plus with all my images being perfect squares they just look better side by side like in the different views and modules.

    Also if your just using audio files, why are you displaying them as video? Wouldn't it make more sense to just have the player play the audio, and then use the cover art as a static image similar to how the demo site is on here?
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, May 21 2011, 01:18 AM - #Permalink
    0
    The reason why i have it as video is because i like the fact on clicking on the album art to play. Also i want t take advantage of the JW plugins such as the facebook share and embed.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, May 23 2011, 06:31 PM - #Permalink
    0
    ejd300, have you resolved this issue? If so, would you mind sharing your solution? It looks like you have a lot of questions shared by others (at least me), so it would be great if you could share the knowledge as you figure out how to fix these things!

    Thanks and love what you're doing with MC!

    e2
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 24 2011, 02:50 PM - #Permalink
    0
    sorry, I think I missed something.

    is what you want to have a playlist "preloaded" in the player, so it has something to play available right when the user access your site?

    Germi
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 24 2011, 02:55 PM - #Permalink
    0
    No what i want is the player to start in the "Fill" Option. So that the album art stretches to all of the player.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 24 2011, 03:21 PM - #Permalink
    0
    germi wrote:
    sorry, I think I missed something.

    is what you want to have a playlist "preloaded" in the player, so it has something to play available right when the user access your site?

    Germi


    Germi,

    I think what you're talikng about here is being asked in a different thread.

    I am personally following both threads with interest and look forward to your responses!
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Thursday, May 26 2011, 12:46 AM - #Permalink
    0
    You would need to hardcode a new flashvar called "stretching" and set it to "fill". I am guessing you would want to do this in the jw plugin.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 26 2011, 01:02 AM - #Permalink
    0
    in which file do i add a flash var and what does the code look like?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 31 2011, 12:07 PM - #Permalink
    0
    solved like so....

    Open JWPlayer.php
    The reply is currently minimized Show
Your Reply