Checking Status of Quicktime

Hello! I need to know if there’s a way, using AppleScript, to see if QT is currently recording or playing a video. Thanks for any help!