Home > PHP, Programming > Zshare Stream Url For Jwplayer

Zshare Stream Url For Jwplayer

November 6th, 2009

See this page:
http://tvshack.net/tv/Gossip_Girl/season_3/episode_8/a:163291/

He using jwplayer to stream video from zshare. I made one myself but unfortunately it doesn’t work on browser that doesn’t use Gecko engine (it means it doesn’t work on IE, Opera and Chrome).
I know the difference between his script and my own. He is using zshare stream URL, while I’m using zShare download URL.

This is an example of zShare stream URL:
http://dl025.zshare.net/stream/255c6fb0a6a5e9d9dfd2c695f1c3c80c/68000359/1257482777/ns15.flv/70e639b2efa7d526b4e2c31b2cfee258/5030251120

And this is an example of zShare download URL:
http://dl025.zshare.net/download/d510e9e9723d5ced4347de61da7f2c98/1257473922/68000359/ns15.flv

I try to made my own zShare stream URL generator but I’m stuck on that gibberish (md5 hash — I think) on that zShare stream URL (the codes after filename — 70e639b2efa7d526b4e2c31b2cfee258) .. One thing that I know for sure that this codes is unique for a video and doesn’t change like the other hash (255c6fb0a6a5e9d9dfd2c695f1c3c80c). I don’t know where to get that codes.

If you examine that tvshack URL, you’ll found their jwplayer use this URL:
http://67.223.254.167/zs/?id=ZTA5YjRkZjkwYTVlODU4YTliZDgwMTVmMmFiNjljNGEuYnpZeWJUQnRhekkwTnpJek56QXpNZz09
as a flv source file. That link is generating that zShare stream URL and redirect the jwplayer request to there.
So, your job is to create that kind of script and make sure it works on jwplayer that played on IE, Opera and Chrome.


Zshare Stream Url For Jwplayer

Categories: PHP, Programming Tags: , , , , , ,
Comments are closed.
Bear