Update advd.sh

Other video formats added. Added failsafe functions during link verification.