Time code feature

Permalink
Does this add-on now include a time code?

I did ask a while back, and I believe it was left as "it will be added in a later version".

I see that it has now been updated and I was wondering if this feature was now included?

Thanks
View Replies:
elyon replied on at Permalink Reply
elyon
Hey Robbie,

I apologize for the delay.

The Flash Video add-on now includes a time code feature. Although the player supports the setting, I haven't made it available as a block setting yet, so you would need to use a custom template.

Here's the drill (it's easy to do):

- Create a directory at /blocks/flash_video/templates
- Copy "view.php" from /packages/flash_video/blocks/flash_video to your new directory
- Rename the file ("time_code.php", for example) and edit it
- Add "showTimeCode" with a value of 1 to the list of parameters that's passed to the SWF

Done! Let me know if you try it out, and how it works for you
Charlie replied on at Permalink Reply
In case this catches anyone else out, to get this to work I had to pass it to the SWF within the flashvars, not parameters:

flashvars.showTimeCode = 1;