A new article in the Brightcove Developer Center, written by Brandon Aaskov of Brightcove's Professional Services group, presents a player plug-in you can use to control ad logic for long-form video. With ad-supported long-form video, you often want to use mid-roll ad requests. The ad logic in the plug-in handles what to do if the viewer skips forward or backward over an ad break, making sure that the ad isn't skipped altogether or annoyingly repeated. Read about it and get the plug-in and its source code.