integrate inline media source in media handler main project