support for local youtube and stream file

support for local youtube and stream file