Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I can explain, conceptually, what a server side proxy would do in this case. Let's say you are retrieving a URL, like this:</p> <pre><code>http://myserver.com/somethingSomething/DarkSide/ </code></pre> <p>to retrieve a video stream from the server. You say it won't be played because there is no file extension; so you have to, in essence, use a different URL with the extension. Set up 'search engine friendly' URLs on the server. And do something like this:</p> <pre><code>http://myserver.com/myProxy.cfm/streamURL/somethingSomething%5CDarkSide/Name/myProxyVid.mp4 </code></pre> <p>Here is some information on how to deal with <a href="http://www.coldfusioncookbook.com/entry/104/How-can-I-get-user-and-Search-Engine-Friendly-URLs" rel="nofollow">Search Engine Friendly URLs in ColdFusion</a>. Here is some information on how to deal with <a href="http://www.phpriot.com/articles/search-engine-urls" rel="nofollow">Search Engine Friendly URls in PHP</a>. I'm sure Other technologies will come up in a Google Search.</p> <p>In the URL above; this is what you have:</p> <ul> <li><strong><a href="http://myserver.com/" rel="nofollow">http://myserver.com/</a></strong>: This is your server</li> <li><strong>myProxy.cfm</strong>: This is your server side file; that is a proxy</li> <li><strong>streamURL/somethingSomething%5CDarkSide/Name/myProxyVid.mp4</strong>: This is the query string. It consists of two name value pairs. The first is the streamURL. This is the URL you want to retrieve with your proxy. The second is just random; but as long as it ends with the file extension .mp4 the URL should be seen as an 'mp4 file'</li> </ul> <p>The code behind your myProxy.cfm should be something like this, in psuedo-code:</p> <pre><code>Parse URL Query String Retrieve Stream. Set mimeType on return value. Return stream data </code></pre> <p>I used a similar approach on TheFlexShow.com to track the number of people who watch our screencast on-line vs downloading it first. I also used the same approach to keep track of impressions of advertiser's banner ads. For example, the browser can't tell that this is not a JPG image: </p> <blockquote> <p><a href="http://www.theflexshow.com/blog/mediaDisplay.cfm?mediaid=51" rel="nofollow">http://www.theflexshow.com/blog/mediaDisplay.cfm?mediaid=51</a></p> </blockquote> <p>Based on this, and one of your previous questions; I am not convinced this is the best solution, though. I make a lot of assumptions here. I assume that the problem with playing the file does relate to the extension and not the file data. I assume that you are not actually streaming video with an open connection on both client and server to send data back and forth. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload