I feel like I'm starting to build a pretty good understanding of how everything works when it comes to plex channels but there's one thing that bugging me. I'm not sure how to actually play videos once I resolve them. Sorry if this is a dumb question, but I have direct access to video links (both mp4 and flv) on the site for which I'm trying to build a plugin. How can pass those URLs to plex to play them? Is this part of what the URL service does? I was under the impression that my URL service should take a generic page link and return an object with complete metadata and a direct link but what if I already have access to the link? Is there a particular object/paramater that I can assign a direct link to? MediaObject?
In MediaObjectsForURL you declare a Callback for the PartObject's key and in the Callback routine you just return Redirect(your_mp4_url)
Do you know in advance which ones that are MP4 or FLV? I'm just asking because if you don't declare the video codec, all clients will most likely request transcoding.
Yeah I do. The file extension is included with the text defining the tag that contains the links for example: http://video.url">filename-1280-720.mp4. I should be able to write some kind of expression to check which is which and return the correct codec.