NGINX Rewrite (or other solution) to Recover Flash Variable Handling

This embed code used to work back in the day for a flash player:

<object width="450" height="330"><param value="http://www.domain.com/emb/4386" name="movie" /><param value="transparent" name="wmode" /><embed width="450" height="330" wmode="transparent" type="application/x-shockwave-flash" src="http://www.domain.com/emb/4386"></embed></object>

This would NGINX rewrite like

rewrite ^/emb/([0-9]*)$ /flashplayer.swf?id=$1 redirect;

This embed code used to work with the rewrite and the player would be able to grab the variable properly with the rewrite. However, in today’s browsers the player, which has been updated, no longer works. Was hoping there was some way to have NGINX rewrite or do something to get this deprecated URL working again on the server side. This embed code is used repeatedly and it just delivers a broken player (since the variable didn’t transfer). We have a new embed code now, but would be nice for the old to get back to working as well.

I’m not exactly sure if there is a way, but all feedback appreciated.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.