Hi Muhammad,
I understand that you are trying to load a package into MATLAB path. In MATLAB the way to add packages to path is to set it manually. This is illustrated here.
To load a video from a file instead of a live stream, refer to this documentation about VideoReader.
Kiran
