CDROM-Guide forums

Go Back   CDROM-Guide forums > Main Forums > VideoCD
FAQ Calendar Mark Forums Read
Open   CSec   Data   DevDrv   CoOp   Audio   CDRW   CDG   VCD   DVD   HD DVD   Mac   VGB   PS2   DC   Xbox  

Thread Tools Display Modes
Old Mar 08, 2010, 01:40 AM
stephenz stephenz is offline
Junior Member
Join Date: Sep 2009
Posts: 24
Default Traffic counter for Web FLV player on website

sponsored links
Traffic counter for Web FLV player on website

[url=***********]Traffic Counter API[/url] with [url=***********]Moyea Web Player[/url] provides easy-to-use ways to enable its users to count and display how many times a video has been viewed, and let viewers know how popular the video is.

[b]About Moyea Web Player:[/b]
Moyea Web Player is a Flash video player creator. With it, you can easily make customized Web [url=***********]FLV player[/url] with playlist and full screen features for website.

[b]Where Traffic Counter API appears:[/b]
After install this plugin, it will appears on the following interface of Moyea Web Player.

The "Traffic Counter API " interface is for choosing a way to get the video data from player

[b]This Traffic Counter API provides two options to get data of video from [url=***********]Flash video player[/url]: 1. Via JS API; 2. Via URL[/b]

If choose to get video data via JS API on the above interface, the API is:

function mwplayer_counter_callback_func(idx, caption, path, playerid, date) {
If choose to get video data via URL, the API is:

Note: To get video data via URL, besides need to build a webpage (e.g.: counter.php) to get the data, but also need to build a page named crossdomain.xml and put it in the same directory with the webpage (e.g.: counter.php)

The content of crossdomain.xml as below:

<?xml version="1.0" ?>
<allow-access-fromdomain="*" />
Term interpretations:

* idx and index indicate the video ID in the player
* caption indicates the video name.
* path indicates the path to the video file.
* playerid indicates the player ID
* playerurl indicates the path to the player
* date indicates on which day the video was played

[b]Tutorials about making the traffic counter build relationship with flash video player in different situations:[/b]

Situation 1: You don't have a flash video player, and you need to customize one with Moyea Web Player. In this situation, to build the relationship, you just need to check an option (JS API or URL) and click the "Submit" button on the "Traffic Counter API" interface.

Situation 2: You already have a flash video player customized with Moyea Web Player. To build the relationship in this situation, you need to put a folder named "plus" (contains a plugin file counter.swf) and a file addonslist.xml in the same folder with the player files.
The "plus" folder with counter.swf and the addonslist.xml file can be easily generated with Moyea Web Player. About this, please refer to situation 1

flash video player

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Broadcast RTMP video streaming with flash video player on website stephenz VideoCD 0 Feb 27, 2010 12:54 AM
Introduction about how to add Google Adsense to flash video player on website stephenz VideoCD 0 Feb 26, 2010 12:36 AM
How to Convert FLV to 3GP for Mac? jimmy6280 HD-DVD & Blue-Ray 0 Jan 03, 2010 08:16 PM
HD Button Plugin for customizing HD FLV Player stephenz HD-DVD & Blue-Ray 0 Dec 28, 2009 11:44 PM
How to convert FLV to video files with watermark? Micky1020 VideoCD 6 Feb 25, 2008 10:12 AM

All times are GMT -5. The time now is 10:31 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright © 1996-2009 All rights reserved