Added DebugLog function.
Changed use of deprecated method.
Implemented video code, but video not appearing in view.
...