duydangle
Active member
When I see the embed code from twitch.tv, I found that they have two {$id}. One $id is for channel, and another is for video. Livestream links have only the first $id, and we can make the link easily. But with vids are attached to channels, so we need two include both two $id.I bet you we could figure out what we needed for justin.tv if we can figure out how to make a simple flv play using a self hosted player like flowplayer. I'm trying to learn how to start with small simple stuff first and expand from that. I'm hosting the flv files on cl.ly (free cloud service) and they use some kind of random string in the url before the flash file. Much like how a tinyurl type service would do. So the file is actually at something like this: http://cl.ly/0x322q251c372K0a0q0w/grenade.flv
It seems I have two {$id} variables in this scenario.
And just like the soundcloud example above, I've got to figure out how to match the two urls users will possible capture from the file serving webpage (because the other possible url people might use is http://cl.ly/0x322q251c372K0a0q0w )and make a callback.php somewhere to pipe and enter all the corresponding details into the ACP -> Edit BB code media sites
Lots of digging to do because I have no idea where the callbacks are or how it even works but I'm determined to figure this out. And OH MY! What is this "regular expression"?