This might come in handy for people who want to do their own formatting on the video tokens. The patch adds "-raw" counterparts to the duration, views, views_completed, downloads, and filesize tokens (the rest of them already return unformatted values). I also changed the token descriptions for better consistency and clarity. Did some basic testing on my site and everything seems to work as expected.

Hope I'm doing this patch thing right...

CommentFileSizeAuthor
raw_tokens.patch2.95 KBGrantovich

Comments

jbrown’s picture

Assigned: Unassigned » jbrown
Status: Needs review » Fixed

nice work Grantovich!

I applied it with some further improvements: http://drupal.org/cvs?commit=129821

Anonymous’s picture

Status: Fixed » Closed (fixed)

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