if file.filename == '': return jsonify('error': 'No selected file'), 400

While "popular videos" often refers to shorter digital content, it also encompasses trending cinematic previews and viral media.