You could use some sort of encoding - but since it is all javascript, anyone can decode it.
Since you posted this under PHP - you could copy the video file to a temporary file and deliver the temporary file to the client. Be sure to clear the temporary files periodically to avoid filling up the disk.