You don't need to hide buttons here. You may add css rule to just hide them at video_tablet.css. That's far more simple than adding code like this. Thanks.