With most of the Adult/18+ plugins currently having one issue or another, I decided I'd try and make my own from my favorite HD site. I was having issues pulling the src url from the HTML due to embedded javascript, but was able to parse the HTTP request and pull the URLs from there. An example:
(Obviously, NSFW)
http://vk.com/video_ext.php?oid=230817239&id=167029402&hash=ec9e968a98da3aae&hd=3
When played in a browser this works fine, however when I try to play this from a client (tried Plex/Web and Home Theatre) it fails to play, usually without error. It works when I include the WebVideoURL function into the PartObject, but this still prevents it from playing in the clients itself. I was wondering if it may be due to the fact that it has more than just the stream itself; embedded data within the link (ability to select the HD quality, a fullscreen button, etc). I quickly looked at the Site Config page, and thought that might help; figured I'd get a second opinion before I jumped in on that.
Looking at the logs, I did find this:
2013-12-10 20:10:14,880 (fa4) : WARNING (objectkit:199) - Media part has no streams - attempting to synthesize 2013-12-10 20:10:14,881 (fa4) : DEBUG (runtime:106) - Sending packed state data (551 bytes) 2013-12-10 20:10:14,881 (fa4) : DEBUG (runtime:914) - Response: [200] MediaContainer, 2060 bytes ... 2013-12-10 20:10:15,829 (12c) : DEBUG (runtime:49) - Received packed state data (520 bytes) 2013-12-10 20:10:15,831 (12c) : DEBUG (runtime:814) - Found route matching /vk/Brazzers/videos/video 2013-12-10 20:10:15,834 (12c) : DEBUG (runtime:106) - Sending packed state data (551 bytes) 2013-12-10 20:10:15,834 (12c) : DEBUG (runtime:914) - Response: [200] MediaContainer, 2060 bytes
Does this mean that the url above that i'm sending in as the PartObject doesnt actually contain the stream itself? I dont see anywhere else it would be (it's the same thing that resides in the iframe).
Site is here if interested in taking a look at the source itself (again, obviously NSFW).
Happy to provide code as needed (one thing to note is im not using any services).
Thanks