Flash redirection with browser calls caching
View Patent ↗In particular embodiments, a client loads a flash player. The flash player requests a flash redirection browser to execute an NPN call, the NPN call including a string. The flash redirection browser determines whether a cache at the client includes the string, and if the cache includes the string, the flash redirection browser determines an identifier associated with the string in the cache and returns the identifier to the flash player.
1. A method comprising:
at a client, loading a flash player;
by the flash player, requesting a flash redirection browser at the client to execute an NPAPI NPN browser call (browser call) comprising a string;
by the flash redirection browser, determining whether a cache at the client includes the string;
if the cache includes the string, by the flash redirection browser:
determining an identifier associated with the string in the cache; and
returning the identifier to the flash player; and
if the cache does not include the string, by the flash redirection browser:
passing the browser call to a flash redirection plugin at a server;
receiving from the flash redirection plugin an identifier resulting from executing the browser call;
storing the identifier and the string in the cache; and
providing the result to the flash player.
2. The method of claim 1 , wherein the server comprises a browser, and wherein the browser is operable to:
load a webpage comprising flash content;
load the flash redirection plugin;
receive from the plugin the browser call;
execute the browser call; and
provide the result of executing the browser call to the plugin.
3. The method of claim 2 , wherein the flash content comprises a plurality of flash content items of the webpage.
4. The method of claim 2 , wherein the flash content interacts with the browser call.
5. The method of claim 1 , wherein the server is remote from the client.
6. The method of claim 1 , wherein the flash redirection plugin is operable with multiple browsers.
7. The method of claim 1 , wherein the flash redirection browser is operable with multiple platforms.
8. One or more computer-readable non-transitory storage media embodying logic that is operable when executed to:
at a client, loading a flash player;
by the flash player, requesting a flash redirection browser at the client to execute an NPAPI NPN browser call (browser call) comprising a string;
by the flash redirection browser, determining whether a cache at the client includes the string;
if the cache includes the string, by the flash redirection browser:
determining an identifier associated with the string in the cache; and
returning the identifier to the flash player;
if the cache does not include the string, by the flash redirection browser:
passing the browser call to a flash redirection plugin at a server;
receiving from the flash redirection plugin an identifier resulting from executing the browser call;
storing the identifier and the string in the cache; and
providing the result to the flash player.
9. The media of claim 8 , further comprising:
if the cache does not include the string, by the flash redirection browser:
passing the browser call to a flash redirection plugin at a server;
receiving from the flash redirection plugin an identifier resulting from executing the browser call;
storing the identifier and the string in the cache; and
providing the result to the flash player.
10. The media of claim 9 , wherein the server comprises a browser, and wherein the browser is operable to:
load a webpage comprising flash content;
load the flash redirection plugin;
receive from the plugin the browser call;
execute the browser call; and
provide the result of executing the browser call to the plugin.
11. The media of claim 10 , wherein the flash content comprises a plurality of flash content items of the webpage.
12. The media of claim 10 , wherein the flash content interacts with the browser call.
13. The media of claim 9 , wherein the server is remote from the client.
14. The media of claim 9 , wherein the flash redirection plugin is operable with multiple browsers.
15. The media of claim 9 , wherein the flash redirection browser is operable with multiple platforms.
16. A system comprising:
one or more processors; and
a memory coupled to the processors comprising instructions executable by the processors, the processors being operable when executing the instructions to:
at a client, loading a flash player;
by the flash player, requesting a flash redirection browser at the client to execute an NPAPI NPN browser call (browser call) comprising a string;
by the flash redirection browser, determining whether a cache at the client includes the string;
if the cache includes the string, by the flash redirection browser:
determining an identifier associated with the string in the cache; and
returning the identifier to the flash player; and
if the cache does not include the string, by the flash redirection browser:
passing the browser call to a flash redirection plugin at a server;
receiving from the flash redirection plugin an identifier resulting from executing the browser call;
storing the identifier and the string in the cache; and
providing the result to the flash player.
17. The system of claim 16 , wherein the server comprises a browser, and wherein the browser is operable to:
load a webpage comprising flash content;
load the flash redirection plugin;
receive from the plugin the browser call;
execute the browser call; and
provide the result of executing the browser call to the plugin.
18. The system of claim 17 , wherein the flash content comprises a plurality of flash content items of the webpage.