摘要 |
According to one general aspect, a method for playing, in an offline mode, a media file may include receiving, by a web browser operating in an online mode and from a content server, a media file and at least one advertisement associated with the media file. The method may further include caching, within a local file system, the media file and the at least one advertisement. The method may also include playing, in an offline mode, the cached media file and the cached at least one advertisement. The method also comprise detecting a user interaction, while in an offline mode, with the at least one advertisement. The method may include caching the user interaction for further processing when in an online mode. |