FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » counting the plays
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: counting the plays [message #183217 is a reply to message #183215] Sat, 12 October 2013 18:29 Go to previous messageGo to previous message
Mr Oldies is currently offline  Mr Oldies
Messages: 241
Registered: October 2013
Karma:
Senior Member
On Sat, 12 Oct 2013 13:58:39 -0400, Norman Peelman wrote:

> On 10/12/2013 10:33 AM, richard wrote:
>> I need to keep track of how many plays any tune gets.
>> Like the way youtube does.
>> But played, not just viewed.
>> The counter gets added to when the play button is clicked.
>> The player is flash based.
>>
>> Any way of doing this?
>>
>
> Question. Do you want this counter advanced if the listener clicks
> the pause/play button more than once. It may be easiest to update the
> count (stored in the database) when the user clicks the link to load the
> <IFRAME>. It will be just as accurate.

That would be the way I would do it under normal circumstances.
However, as this is generating a report for ASCAP, they want to know how
many times each tune was played.
As I will have other information with the song, just counting the iframe
hits will not do.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can't change upload_max_filesize
Next Topic: about php 5.4.20version
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 17:36:34 GMT 2024

Total time taken to generate the page: 0.04664 seconds