You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Statistics Created Nov 13, 2009

This thread is solved

Views: 1714     Replies: 3     Last reply Nov 16, 2009  
You must login first before you can use this feature

kiribool

Posts: 3

Registered:
Nov 13, 2009

Statistics

Posted: Nov 13, 2009

Hi all,

i want to get count of full view my video clip, but i'm newbie. How do i implement it? Thank you.

kiribool

Posts: 3

Registered:
Nov 13, 2009

» Statistics

Posted: Nov 13, 2009

Reply to: Statistics, from kiribool
I try to use this:

flowplayer("player", "flowplayer/flowplayer-3.1.5.swf", {
 clip: { 
  autoPlay: false,
  onStart: function(clip){ 
   $.get("http://localhost/video/statistics.php");
   }
 },
});
where statistics.php:

$a=1;
$fp = fopen('data.txt', 'a+');
fwrite($fp, $a);
fclose($fp);
but after start the clip, data.txt is empty.
Please link me to example or section of manual.
Thank you.

gmccomb

Posts: 746

Registered:
Apr 9, 2009

» » Statistics

Posted: Nov 13, 2009

Reply to: » Statistics, from kiribool
Put a JavaScript alert in your onStart function, to verify that it's working. When you're satisfied onStart is properly triggering, you can turn to the rest of your script code. Resolving issues with your PHP script isn't a subject for this forum, though, as it's outside the functionality of Flowplayer.

kiribool

Posts: 3

Registered:
Nov 13, 2009

» » » Statistics

Posted: Nov 16, 2009

Reply to: » » Statistics, from gmccomb
Ok, thanks.

I'm finished. I'm use xajax. It's work.