A link like the following works to play a clip using flowplayer:
http://flowplayer.org/swf/flowplayer-3.1.4.swf?config={%27clip%27:{%27url%27:%27http://blip.tv/file/get/KimAronson-TwentySeconds1318.flv%27},%27plugins%27:{%27controls%27:{%27url%27:%27flowplayer.controls-3.1.4.swf%27,%27stop%27:true}}}
However, I'd like to create a way to give a link that looks more like:
http://www.example.com/zYls91Mis
that could work the same way as the link above. That way, I could distribute embed-links to clips that don't contain many details at all. That way, I can:
1. move the clip file
2. upgrade flowplayer
3. change flowplayer parameters
and all the previously distributed links will continue to work, using any updates as well, if I just update the website
I guess this could be solved with a HTTP 301 or 302 redirect from the second link to the first, but a solution that works server-side would be better.
Is there a recommended way to do this, or has someone done this before?
http://flowplayer.org/swf/flowplayer-3.1.4.swf?config={%27clip%27:{%27url%27:%27http://blip.tv/file/get/KimAronson-TwentySeconds1318.flv%27},%27plugins%27:{%27controls%27:{%27url%27:%27flowplayer.controls-3.1.4.swf%27,%27stop%27:true}}}
However, I'd like to create a way to give a link that looks more like:
http://www.example.com/zYls91Mis
that could work the same way as the link above. That way, I could distribute embed-links to clips that don't contain many details at all. That way, I can:
1. move the clip file
2. upgrade flowplayer
3. change flowplayer parameters
and all the previously distributed links will continue to work, using any updates as well, if I just update the website
I guess this could be solved with a HTTP 301 or 302 redirect from the second link to the first, but a solution that works server-side would be better.
Is there a recommended way to do this, or has someone done this before?