Multimedia: Fixed the Flash loading

-Fixed #3878
Multimedia: Optimized the player's variables
Merge pull request #3879 from LaurentGoderre/fix-multimedia-flash

Multimedia Fixes