Saving resources when playing video multiple times

The video content is often large and playing it multiple times in a row consumes a significant amount of memory if a new Player instance is created for each play action. A player can be kept usable, so that playing can be restarted without loading the resources again. If you can assume that the memory of the mobile device does not run out, you can store created and initialized players to a player pool. That makes it faster to restart the video clip, because the content does not need to be reloaded to the memory. In addition, prefetched and realized players are somewhat faster to start.

Note: In the Series 40 platform and in S60, from 3rd Edition onwards, when playing media from a file locator, it will be played directly from the file without loading it to the memory first. This can be useful when playing large media files that already exist in the file system.