Technically, if the whole court case against Dank and Dabby rests on their YouTube video where they say they were smoking pot in the national park, there is no case. Such a statement in a video clip neither constitutes evidence nor a confession. The substance in the video could have been a prop or CGI.
Ruth is supposed to have actual legal training, which means she should not have been surprised by the YouTube video. if it's evidence, then the state is obliged to disclose that during discovery.