SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Member
    Join Date
    Sep 2008
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to Geoblock video content?

    Hi,

    I have a client who has asked me if I can Geoblock a video she wants to post on her website (she's not allowed to show the video in the United States at this time). I've searched the internet and can't find any information on how this might be achieved. Does anyone know how to accomplish this or know of a resource I could consult?

    I'm grateful for any advice.

    Thank you.

  2. #2
    Just Blow It bronze trophy
    DaveMaxwell's Avatar
    Join Date
    Nov 1999
    Location
    Mechanicsburg, PA
    Posts
    7,254
    Mentioned
    113 Post(s)
    Tagged
    1 Thread(s)
    You'd have to find a workaround for IE8 and below, but the W3C geolocation api would be a good place to start: http://en.wikipedia.org/wiki/W3C_Geolocation_API
    Dave Maxwell - Manage Your Site Team Leader
    My favorite YouTube Video! | Star Wars, Dr Suess Style

  3. #3
    SitePoint Zealot Sogo7's Avatar
    Join Date
    May 2011
    Posts
    129
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    http://www.ip2location.com/free/visitor-blocker can also provide a ready made htaccess file it's probably a little out of date now but should stop most visitors from the USA (can be tweaked to block just one page or many)

  4. #4
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,625
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I'd get a video platform that does it for you -- most of them have that feature these days.

  5. #5
    SitePoint Member
    Join Date
    Sep 2008
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks everyone. I found a solution similar to what Sogo7 suggested at this website:

    http://www.maxmind.com/en/home

    I can query their web service IP database using PHP and determine whether to show the video or not.

    I'll be making a WordPress website and I'm thinking of using JWPlayer for this and they don't have any GEO look-up options. wwb_99, off-hand, do you know of any good video platforms that I should look at?

    Thanks again!

  6. #6
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,625
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    How much do you want to spend?

    Personally I'm partial to ooyala. Brightcove is also good. Both of those start in the $500/mo range and go up from there. I've heard good things about vzaar but it doesn't seem they offer geographic restrictions.

  7. #7
    SitePoint Member
    Join Date
    Sep 2008
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the information wwb_99. This company's video requirements aren't going to be worth $6000 a year to them so i'll likely proceed with the do it yourself method.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •