add video player func