javascript - How is doing AnimeHaven to cloak the original YouTube video when embedding? -


i'm sorry if it's problem (because of copyrighted stuff) link it's extremely relevant question: here link video. (if mod thinks it's problem please remove link, , encourage use google find it)

  1. load default video
  2. looks youtube player full 24 minutes episode of fullmetal alchemist.
  3. ask yourself: "how hell such high quantity of copyrighted material being hosted on youtube?!" (the site has hundreds, if not thousands of episodes hosted in same way)
  4. copy url or click youtube logo go youtube
  5. it's different video!

by doing seems they're preventing people flagging videos copyrighted.

  1. if @ url of embedded player, it's youtube.com, it's definitively original youtube player.
  2. if inspect page while video loading can see stream coming googlevideo.com domain, it's definitively being hosted google.
  3. if @ streaming url can see parameter source=picasa

so current theory is:

  1. host video on picasa (with google drive guess?)
  2. load player initial public video
  3. inject picasa video streaming url youtube player youtube video, keeping original video parameters.
  4. avoid flags copyright infringement!

this agains tos of youtube, or picasa, or google, or illegal being copyrighted. it's still clever trick on part, since no 1 has access video, no 1 can flag copyright infringement through usual methods, brilliant! (although risky, if you're somehow liable!) (and google find loophole anyway!)

i need know trick! :-)

tbh haven't looked js yet (and it's heavily obfuscated), thought maybe knows how they're doing it, although haven't been able find related on google.

it's extremely complex system several hosting sites around internet have been using. can shed little light i've been looking long time now.

here's how works: picasaweb api used upload , retrieve video urls. use curl authenticate google , use picasaweb api retrieve date mp4 urls.

it's worth adding reason can't take each video url , store them in database because expire after 7 days.

unfortunately can't head around authentication since i'm quite new it. haven't been able replicate process unfortunately. if able figure out how it's done, shoot me email zei@zeiworld.net, i'm willing pay answer!

i'll add js has little main thing. way based research off of kissanime.com


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -