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?
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?