Making D-Link 2310L record video whenever motion is detected

Once you set this up in the camera advanced settings my D-Link Camera manager SmartApp can trigger the video recording directly: