/** * Get target popup player size */ function getPopupPlayerSize(){ // Get the max width from the enabled transcode settings: $maxImageSize = WebVideoTranscode::getMaxSizeWebStream(); return WebVideoTranscode::getMaxSizeTransform( $this->file, $maxImageSize); }