You should be able to determine that using the Scaleform Extensions "isGFxPlayer" and "isScaleform".
Just use:
import scaleform.gfx.Extensions
Extensions.enabled = true;
trace("isGFxPlayer", Extensions.isGFxPlayer);
Returns true in standalone player
Returns undefined in Unity