Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
For a UX point of view it would be nice to have a default preset.
Comment | File | Size | Author |
---|---|---|---|
#3 | jw_player-default-preset-1302124-3.patch | 1.25 KB | skilip |
Comments
Comment #1
rickvug CreditAttribution: rickvug commentedI've been on the fence about this one. There actually was a default preset that has since been removed. Mainly because at the moment I'm using JW player on a site where we define our own presets and image styles. Having a preset defined gets in the way for this type of usage. This is also consistent with image styles in core (if I'm not mistaken). Beyond this it is also technically possible to use the theme function without a preset, although there's been very little testing of this type of scenario.
All of this said, I do agree that not having a default preset is a barrier to entry. Not really sure what type of user to value the most in this case.
Comment #2
skilip CreditAttribution: skilip commentedFor the workflow of new users to the module it can be a bit frustrating to see no results 'out of the box'. If the module is installed the user already has to take several steps of which concepts can be totally new, like usage of Libraries, downloading the JW Player library, having a field formatter for the file field instead of a JW Player field, Ctools presets, etc. Of course every Drupal user should get familiar with these concepts but it can be overwhelming the first time. I do believe we should keep the barriers as low as possible.
If you agree, can we restore the default preset?
Comment #3
skilip CreditAttribution: skilip commentedOr we can add a 'create a preset' link in the field manage display UI.
Comment #4
rickvug CreditAttribution: rickvug commented@skilip I committed your help instructions - http://drupalcode.org/project/jw_player.git/commitdiff/1f4cded387b1327ee.... Perhaps we should keep this issue open to see if users still have problems or otherwise have an opinion?
Comment #5
nitmd CreditAttribution: nitmd commentedComment #6
najibx CreditAttribution: najibx commentedHi, "A preset is a group of JW Player settings, such as dimentions and skin, that can be re-used multiple times.".
How to use different preset for different theme? i.e for mobile version, use smaller width/height?
Comment #8
ron_s CreditAttribution: ron_s commentedThe warning message is present in 7.x-2.x, and there is also a link for users to manage their presets. Also technically no preset is needed to render a player, since there are defaults of 640x480 in place when no preset can be found.
Let's close this for now, and if others have feedback they can post to 7.x-2.x.