The D6 JW Player is not being ported to D7, instead it is replaced by a new module called 'JW Player' that has a slightly differnt system name jw_player rather than jwplayer. This small patch lets Video module use the D7 JW Player as an FLV player. If you want to support thumbnails then JW Player needs a patch which is available at #JW Player using Video module thumbnails.

Comments

dippers’s picture

Comment removed.

andypost’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new2.51 KB

Same patch with added new lines at the end of file and removed extra spaces

to use image for js player currently you need a custom module as #1395584: Provide image poster (with configuration to select the source)

I'm using this code

function sitecustom_preprocess_jw_player(&$vars) {
  if (isset($vars['file_object']) && isset($vars['file_object']->image['uri'])) {
    $vars['poster'] = file_create_url($vars['file_object']->image['uri']);
  }
}
Jorrit’s picture

Thanks for your patch, but please do not post patches that have dual purposes. If you want to provide a patch that removes trailing spaces, open a new issue and upload a patch there.

andypost’s picture

@Jorrit as I said it's the same patch as @Dippers posted so you can commit what you prefer :)

andypost’s picture

StatusFileSize
new1.5 KB

Re-roll without trailing whitespace fix

Jorrit’s picture

Status: Reviewed & tested by the community » Fixed

Fixed in 7.x-2.x.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Added cross link