Programming video casting demonstration code.