It is possible the text-based markup language (HTML5) could replace a multimedia framework (Flash).
The solution is simple, just move the framework into the browser and become an open standard. Not only multimedia framework, the browser can include lot of other stuffs which belong to the operating system now.
It is possible eventually browser will be the OS (user mode). Current OS will be limited to the kernel mode, mostly deal with hardwares.