Keyword

different video source based on ip location?

  • kinglam
  • kinglam's Avatar Topic Author
  • Offline
  • New Member
More
14 years 8 months ago #34967 by kinglam
hello,
as you probably know, youtube.com is blocked from China, and in China, people mostly use tudou.com.

I am planning to create a joomla article page that depends on where the access IP is, it will display a different video source.

For example, I have the same video in youtube.com and tudou.com. If the IP is from China, it will show the article with
{tudou} videoID {/tudou}

else it will show the video from youtube.com

with
{youtube} videoID {/youtube}

Is this possible?

Can I create a custom wrapper tag
{tudou_youtube} videoID1, videoID2 {/tudou_youtube}
where videoID1 is the ID for tudou and videoID2 is for youtube and it will do the above logic based on IP?


What is the best way to do this?

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #34968 by Katia
We will add tudou.com in our providers for AllVideos asap.
;)

Please Log in or Create an account to join the conversation.

  • kinglam
  • kinglam's Avatar Topic Author
  • Offline
  • New Member
More
14 years 8 months ago #34969 by kinglam
Actually, tudou.com is already in the provider list.

My question is really about the logic to do ip 2 location and determine which video source to provide. Would this logic reside in allvideo, or I should use jumi to implement the logic in the joomla article page.

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #34970 by Katia
Sorry this is not possible.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #34971 by hvdb
What you could do is look in to something like GeoIP (maxmind.com) and load/display a different movie based on IP location. This however is obviously not an "out of the box" feature so you will need to do some coding to get it to work.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum