Project:FlashVideo
Version:5.x-2.7
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:postponed

Issue Summary

Relatively new to drupal and this module, i have searched everywhere- I want to know if there is a way to display the views of the video like a play count? on the actual node if possible. any help would be greatly appreciated

Comments

#1

I don't think we have a function built for this yet. It could be done pretty easily by looking at the {flashvideo} 'play_counter' value though.

#2

Thank you so much for your reply, I have spent the past 3 days trying to teach myself how to do this. would anyone be willing to point me in the right direction?

I have the paramaters for my sql database however I do not have access to the computer where the db is housed and only see the "location" as localhost

#3

Component:Miscellaneous» Code
Priority:critical» normal
Status:active» postponed

Well, you'd need to write a function that makes use of db_query (http://api.drupal.org/api/function/db_query/6) and asks for the value of the 'play_counter' field. You might look at the source code that already exists inside the FlashVideo module.

nobody click here