How does YtPak work?

namsu99

Proficient
Jun 17, 2011
861
0
21
Karachi
I got to know about YtPak (YouTube Pakistan) a couple of months ago and ever since, I cant stop thinking about how it works.
I mean it has each and every one of YouTube's videos and even lets us comment on and follow videos and channels. I don't think its a proxy because for one, its quite fast (unlike any YouTube Proxy I've used in the past 2 years) plus it has its own completely different UI.
And yet it has access to YouTube's entire database.

Recently, I've been thinking its using YouTube's APIs but since Im not exactly certain about what APIs are and how they work, I'm still in the dark.

Sooo any idea how it works? [MENTION=8060]abobobilly[/MENTION] [MENTION=11094]StrikerX[/MENTION] Your opinions?


P.S. I know some of you here will think I'm crazy. Alot of people have said "Yaar aam khao, per kyu ginte ho" whenever I've tried to discuss it with them, but I'm curious.
 
Last edited:

StrikerX

Moderator
Moderator
Apr 6, 2009
6,636
52
54
Islamabad
Had the same query in my mind for a long time and I think they're acting as a proxy with a front-end that shows it as a video streaming website. It indexes YouTube videos as well as provides us with an option to give it a YouTube link which it then streams.

I don't think its a proxy because for one, its quite fast (unlike any YouTube Proxy I've used in the past 2 years) plus it has its own completely different UI.
Fast has nothing to do with it being a proxy or not. They're using (most likely) dedicated server(s) to provide content and are generating revenue via ads which is pretty decent (at least it should be) since the traffic to the website is A LOT.


The above is what I think, I can be wrong and if anyone has a better understanding, do enlighten us.

Update: Refer to post # 11
 
Last edited:

abobobilly

$heeda Pastol ™
Dec 3, 2008
14,732
3
44
Lahore
If asking questions make you crazy, then I am crazier than you are. And I like like Mangoes (who doesn't - oh wait, Donkeys -_-)

Anyway, ytPak is just a proxy site, like all the others e.g. playit.Pk. unblockyoutube, or unblockstreaming. Its just a little more flexible, have all the added options by default, where other sited may give YOU the option to enable/disable them (cookies, scripts etc)
 

FlAmEsWoRd

Active member
Feb 2, 2010
359
1
23
Unkown Realm
playit.pk does the same. and i find it better than ytpak
no idea about your query
i noticed a very strange thing about playit.pk whenever i play a video on it and allow it to fullscreen my pc give's me blue screen,it gave me blue screen not just one time but 3 or 4 times
 

frazgta

Well-known member
Oct 23, 2010
1,779
0
43
24.706915,7.468872
[MENTION=11094]StrikerX[/MENTION] if the video feeds are from google itself then there shouldn't be any lag/ stuttering at any time of the day but both playitpk and ytpak stutter sometimes. And it isn't my ptcl connection that causes the stutter because other websites work fine. I believe they are some sort of proxy sites.

Sent from my Nexus 4 using Tapatalk
 

StrikerX

Moderator
Moderator
Apr 6, 2009
6,636
52
54
Islamabad
[MENTION=11094]StrikerX[/MENTION] if the video feeds are from google itself then there shouldn't be any lag/ stuttering at any time of the day but both playitpk and ytpak stutter sometimes. And it isn't my ptcl connection that causes the stutter because other websites work fine. I believe they are some sort of proxy sites.

Sent from my Nexus 4 using Tapatalk
There are way too many reasons for lagging, poor network route, packet loss, non-optimal server selection etc etc But no they aren't using proxy. Just check the source of any page from playit.pk and you'll find the video feed link to be from google which playit.pk are fetching from using youtube's API.

https://[B]r6---sn-qxo7sn7s.c.docs.google.com[/B]/videoplayback?<deleted>
 
Last edited:

Arhamsaeed

Intermediate
Apr 7, 2012
193
0
21
Karachi
[MENTION=11094]StrikerX[/MENTION] if the video feeds are from google itself then there shouldn't be any lag/ stuttering at any time of the day but both playitpk and ytpak stutter sometimes. And it isn't my ptcl connection that causes the stutter because other websites work fine. I believe they are some sort of proxy sites.

Sent from my Nexus 4 using Tapatalk
I can stream 720p videos on ytpak without any stutter on a ptcl connection.
 

frazgta

Well-known member
Oct 23, 2010
1,779
0
43
24.706915,7.468872
I can stream 720p videos on ytpak without any stutter on a ptcl connection.
I can as well. I can stream 1080p on YouTube with a paid VPN as well. But sometimes ytpak stutters a lot even at 360p whereas YouTube/ Unblockyoutube.co.uk works fine even on 1080p.

Sent from my Nexus 4 using Tapatalk
 

Ytpak

New member
Feb 20, 2015
3
0
1
I got to know about YtPak (YouTube Pakistan) a couple of months ago and ever since, I cant stop thinking about how it works.
I mean it has each and every one of YouTube's videos and even lets us comment on and follow videos and channels. I don't think its a proxy because for one, its quite fast (unlike any YouTube Proxy I've used in the past 2 years) plus it has its own completely different UI.
And yet it has access to YouTube's entire database.

Recently, I've been thinking its using YouTube's APIs but since Im not exactly certain about what APIs are and how they work, I'm still in the dark.

Sooo any idea how it works? @abobobilly @StrikerX Your opinions?


P.S. I know some of you here will think I'm crazy. Alot of people have said "Yaar aam khao, per kyu ginte ho" whenever I've tried to discuss it with them, but I'm curious.
Hello,

Found this thread from Google search and registered myself just to bring you out from the darkness :p

Ytpak.com is a semi proxy. For those YouTube Channels where Adsense is enabled we are using our own proxy servers to stream videos.
Example: Vevo Videos / T-Series ...

For those channels where Adsense is not enabled we are simply changing google DNS from "*.googlevideos.com" -> "*c.docs.google.com" - Videos are being downloaded directly from Google servers for those videos.

For everything else we are using YouTube Data API v3 - This includes "Comments posting" - "Likes" and "Channel Subscriptions" - Basically it's not a proxy.

From last couple of days PTCL is having issues streaming through c.docs.google.com servers. For those having this issue over PTCL can simply try to change their video resolution to 480P.

Having a semi proxy system we are currently working on building a hybrid system, it will be able to sense video buffering time and if it feels that current server is not able to respond it will automatically switch between proxy/direct servers.

Glad someone is eating mangoes and counting trees as well, that's how one is able to predict future.

Regards,
Erfan
 

namsu99

Proficient
Jun 17, 2011
861
0
21
Karachi
Hello,

Found this thread from Google search and registered myself just to bring you out from the darkness :p

Ytpak.com is a semi proxy. For those YouTube Channels where Adsense is enabled we are using our own proxy servers to stream videos.
Example: Vevo Videos / T-Series ...

For those channels where Adsense is not enabled we are simply changing google DNS from "*.googlevideos.com" -> "*c.docs.google.com" - Videos are being downloaded directly from Google servers for those videos.

For everything else we are using YouTube Data API v3 - This includes "Comments posting" - "Likes" and "Channel Subscriptions" - Basically it's not a proxy.

From last couple of days PTCL is having issues streaming through c.docs.google.com servers. For those having this issue over PTCL can simply try to change their video resolution to 480P.

Having a semi proxy system we are currently working on building a hybrid system, it will be able to sense video buffering time and if it feels that current server is not able to respond it will automatically switch between proxy/direct servers.

Glad someone is eating mangoes and counting trees as well, that's how one is able to predict future.

Regards,
Erfan

Hey! Thanks for going through all that trouble just to clear our doubts! I hope you'll enjoy your time here at PakGamers.

So does this mean that PTA has only blocked the "Youtube.com" URL and the ban can be bypassed by simply changing the DNS on the server side?
And is there any way to block the actual google's video feeds?

And @Ytpak, I don't mean to be rude, but who are you and how are you related to YtPak? (Just out of curiosity!)
 
Last edited:

Ytpak

New member
Feb 20, 2015
3
0
1
Hey! Thanks for going through all that trouble just to clear our doubts! I hope you'll enjoy your time here at PakGamers.

So does this mean that PTA has only blocked the "Youtube.com" URL and the ban can be bypassed by simply changing the DNS on the server side?
And is there any way to block the actual google's video feeds?

And @Ytpak, I don't mean to be rude, but who are you and how are you related to YtPak? (Just out of curiosity!)
PTA has ordered to block two DNS to ISP's operating in Pakistan.
1) *.youtube.com
2) *.googlevideos.com

They have tried to block other DNS related to Google services and as a result Google Play Store also got banned.
Even today you can use YouTube through Android APP without any issue.

To truly block YouTube they have to ban all the DNS related to Google services.

I am lead developer at Ytpak.com
 

StrikerX

Moderator
Moderator
Apr 6, 2009
6,636
52
54
Islamabad
PTA has ordered to block two DNS to ISP's operating in Pakistan.
1) *.youtube.com
2) *.googlevideos.com

They have tried to block other DNS related to Google services and as a result Google Play Store also got banned.
Even today you can use YouTube through Android APP without any issue.

To truly block YouTube they have to ban all the DNS related to Google services.

I am lead developer at Ytpak.com
Its not just a DNS level block on YouTube though
 
General chit-chat
Help Users
We have disabled traderscore and are working on a fix. There was a bug with the plugin | Click for Discord
  • No one is chatting at the moment.
  • B Baghi:
    Yes
    Link
  • Aciel Aciel:
    Does your VISA Cards work on Google Play Store?
    Link
  • M murtaza12:
    XPremiuM said:
    Why? Was the site hacked or something?
    Yes
    Link
  • XPremiuM XPremiuM:
    GloriousChicken said:
    Everyone, please change your passwords.
    Why? Was the site hacked or something?
    Link
  • GloriousChicken GloriousChicken:
    Everyone, please change your passwords.
    Link
  • Necrokiller Necrokiller:
    The only valid thing from his pov he said in the video is AC dead since Black Flag. According to woke police that game was woke too. Welsh man in West Indies. So atleast he's consistent I guess lol
    Link
  • Link
  • XPremiuM XPremiuM:
    Necrokiller said:
    It's based on an actual real life person so I don't think the woke police have a valid case here.
    Nope. They have a very valid case. The above video explains it all.
    Link
  • Necrokiller Necrokiller:
    It's based on an actual real life person so I don't think the woke police have a valid case here.
    • Like
    Reactions: SolitarySoldier
    Link
  • XPremiuM XPremiuM:
    Meanwhile Ghost of Tsushima PC version is out now. Looks 100 times better than ASS Creed already.
    Link
  • XPremiuM XPremiuM:
    Did y'all see the new Assassin's Creed trailer? They finally made a AC set in Japan & then they put a negro as the male protagonist. Ubisoft is taking cues from Disney, and it isn't gonna end well for them, just like Disney. Go woke, go broke!
    Link
  • Necrokiller Necrokiller:
    First Fallout 4 update and now this 🤡
    Link
  • Necrokiller Necrokiller:
    MS and Bethesda continuing their streak of massive Ls 😬
    Link
  • Link
  • funky funky:
    Hello
    Link
  • NaNoW NaNoW:
    by closing down good studios
    Link
  • NaNoW NaNoW:
    well he is breaking barriers
    • Like
    Reactions: KetchupBiryani
    Link
  • iampasha iampasha:
    SolitarySoldier said:
    Phil keeps talking about breaking barriers to gaming, making it accessible on all platforms yada yada, while killing competition and creativity at the same time. the fact that i actually believed him for a second lol
    guys the biggest yapper in the Industry right now. All he do is yap
    Link
  • Necrokiller Necrokiller:
    Phil should be held responsible for this shitfest too, just like Sarah, but it's highly likely that these decisions are coming from Satya. And this isn't even the end of it. More closures are coming.
    Link
  • SolitarySoldier SolitarySoldier:
    if we are moving towards more and more popular trash across platforms that make billions for companies, I'm happy with all the barriers and exclusivity because at least that brings some pressure to create good stuff.
    Link
  • SolitarySoldier SolitarySoldier:
    Phil keeps talking about breaking barriers to gaming, making it accessible on all platforms yada yada, while killing competition and creativity at the same time. the fact that i actually believed him for a second lol
    Link
  • SolitarySoldier SolitarySoldier:
    "These changes are not a reflection of the creativity and skill of the talented individuals at these teams or the risks they took to try new things" ... seems to me that's exactly what it is
    Link
  • SolitarySoldier SolitarySoldier:
    why make good games when u can just buy everyone and shut them down lol
    Link
  • XPremiuM XPremiuM:
    I'm gonna say one last time, F*** Microsoft to infinity!
    Link
  • XPremiuM XPremiuM:
    Microsoft deserves all the hate they can get. Seriously i can't explain how much i want to curse them out.
    Link
    B Baghi: Yes