Annulé

Modify JW Player Behavior with Javascript & PHP

Here are some initial requirements:

1) Your English must be very good. And I will know immediately if it's not :)

2) You absolutely, no exceptions, MUST be available on ICQ or AIM to communicate with me in real-time about the project. <--- If you can't do this or too lazy to download a free messenger different from the one you usually use, then please don't bother bidding because you obviously don't put the customer first and I don't want to work with you;

3) Experience with video players such as JW Player is desirable. Wordpress and MaxMind GeoIP experience is also desirable.

4) If you're not completely convinced you can do the project - please don't bid. Let's not waste your time or mine.

Here's what I want done:

1) Visitor comes to a post on my Wordpress blog which has a video embedded with JW Player using JW Player's Wordpress plug-in;

2) Visitor clicks on the "Play" button. Your code intercepts the click via JW Player's API and instead of simply starting to play the video - does the following:

a) The visitor's location (geoIP Country) is determined on the fly via Maxmind's free "GeoLite Country" database API. Information about MaxMind API can be found here:

[url removed, login to view]

b) If the visitor has a cookie called "ClickedOnce" set to "yes" OR is NOT from "RedCountries" then the video simply starts playing as it usually would and we skip all of the steps below and we're done.

RedCountries is a parameter set by me like this:

RedCountries= ["US", "UK", "CA", "FR"];

This is just a format example, of course I will be able to set any country codes and as many countries as I want there;

c) If the visitor is from "RedCountries" AND does NOT have "ClickedOnce" cookie set to "yes", then the following will happen:

I) "ClickedOnce" cookie is set to "yes". The purpose of this cookie is to ensure that if/when user clicks on the "Play" button again in the future, the video will start playing normally.

II) The video starts playing but after a set delay (Delay is set by me as a parameter in milliseconds, for example 0 would be no delay and 3000 would be 3 seconds) - the video stops playing and an offsite Javascript will be called to execute - it's a simple call to a .js file on another server and I will provide the tag to you - you don't need to worry about it - just call it.

That's it!

JW Player API documentation and examples are located here:

[url removed, login to view]

Compétences : Javascript, PHP

Voir plus : wordpress app api, simple free php code, playing time app, php free download, php free code, php codes free, javascript download, free php codes, code php free, know customer requirements, download messenger app, wordpress fr, v5, php fr, offsite, modify code, lazy i, jw player, geoip, fly with, code player, simple javascript project example, format php code, skip video, modify location

Concernant l'employeur :
( 0 commentaires ) Mitzpe Ramon, United States

N° du projet : #1078527

1 freelance a fait une offre moyenne de 150 $ pour ce travail

gslogic

Respected sir we can do this for you. Please check your PMB.

150 $ USD en 10 jours
(0 Commentaires)
1.6