added localResource and Global Resource following by video