There is no stable video player for file fields for Drupal 7 that I can see.
This patch adds basic support for this module to be the first (woohoo).
It does not include any formatter settings yet but they're coming.

Lee

CommentFileSizeAuthor
formatter.patch1.01 KBlarowlan

Comments

larowlan’s picture

Status: Active » Needs review
patmacs’s picture

Works as advertised!

Note: First, I wasn't successful at applying the patch (could be my problem), but when I copy/pasted the patch's code into the flowplayer.module it worked. As larowlan was mentioning, it would be nice to have more settings in the future. I'll attempt to contribute some code later this week.

robloach’s picture

Title: Add a file field formatter » Add a file field formatter
Priority: Normal » Major

I like this a lot!!!!! Definitely going to have a look at it soon.

patmacs’s picture

It might be nice to have an option of "Flowplayer Styles" in the media section of the configuration page. There are far too many possible settings for it to appear within the field display setting ui. It might be nice to abstract it out. I'm guessing that the ui should contain a dropdown for which flowplayer style, and which field within the current content type that should be considered the splash image. I'll be tinkering around with it all this week, hopefully I can contribute something

patmacs’s picture

Just a quick follow up on some progress I made this week on this. I cloned the image module's code for handling the image styles (new/edit/delete/schema) and repurposed it for flowplayer_styles. There are a few kinks, but I expect to have them fixed before the weekend. After a short brainstorm, I figured that these would be good options to have for each style. If anyone has any other ideas please kick them around.

  • height
  • width
  • scaling
  • autoPlay
  • buffering (toggles buffering animation)
  • autoBuffering
  • bufferLength
  • default splash image

I figure that the most important settings would appear on the flowplayer's field settings. And those would include:

  • The image field to use for the splash image
  • flowplayer style setting

Plugins support is being discussed elsewhere I think. However, It might be nice to coordinate if/how they could utilize styles.

Anyone have any thoughts?