diff --git a/UyTube_aplicacion/src/Presentacion/Video/frmModificarVideo.java b/UyTube_aplicacion/src/Presentacion/Video/frmModificarVideo.java
index 7b4bf41ea8b6fd3ad34c8f64c29ca0f4581eb164..e4952e2a30329e0ac2e537491ff64cacc5674cf5 100644
--- a/UyTube_aplicacion/src/Presentacion/Video/frmModificarVideo.java
+++ b/UyTube_aplicacion/src/Presentacion/Video/frmModificarVideo.java
@@ -318,6 +318,11 @@ private void cargarDatosDeVideo(DtVideo v){
                                     return;
                                 }
                             }
+                            
+                            if (spHora.getValue().toString().equals("0") && spMinuto.getValue().toString().equals("0") && spSegundos.getValue().toString().equals("0")) {
+                            JOptionPane.showMessageDialog(null, "La duración del video no puede ser 0", "Error", JOptionPane.ERROR_MESSAGE);
+                        } else {
+                            
 
                             int hora = (Integer) spHora.getValue();
                             int minuto = (Integer) spMinuto.getValue();
@@ -352,7 +357,9 @@ private void cargarDatosDeVideo(DtVideo v){
                     }
                 }
             }
-        }
+        }}
+                
+                
     
 
 catch (Exception e) {