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 #183222 is a reply to message #183217] Sat, 12 October 2013 19:08 Go to previous messageGo to previous message
Lew Pitcher is currently offline  Lew Pitcher
Messages: 60
Registered: April 2013
Karma:
Member
On Saturday 12 October 2013 14:29, in comp.lang.php, "richard"
<noreply(at)example(dot)com> wrote:

> 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.

OK, the bottom line, then, is that you can't do what you want to do UNLESS
you either
a) host the flash player itself, and modify the player to provide you with a
"played" count, or
b) host the video content itself, and determine the "played" count from your
own access records.

--
Lew Pitcher
"In Skills, We Trust"
PGP public key available upon request
[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: Thu Nov 28 07:37:20 GMT 2024

Total time taken to generate the page: 0.04261 seconds