Shocking CCTV footage shows a drug dealer throwing packages worth £19k over a prison fence - which led to him being jailed.