Implementation of a Magento extension for selling online video courses. The extension adds a new product type for adding and configuring the video courses. The products have demo videos to be displayed on the store, a purchase duration that is managed automatically and some other meta data like skill level and target audience. The courses can also have multiple sections, each having its own title and video file. The videos are streamed from a Flash Media Server and a token based authentication mechanism is used for access control to only allow users to access videos they purchased and only during their purchase period.