Código:
En si el <embed> debe ser asi://Agregar Capitulo public function add_capitulo(){ self::set_names(); $sql="INSERT INTO `m_capitulos` (`nombre_cap`, `id_ani`, `seo`, `p_reproductor_1`, `p_reproductor_2`, `p_reproductor_3`, `p_reproductor_4`, `p_reproductor_5`) VALUES (?, ?, ?, ?, ?, ?, ?, ?)"; $stmt=$this->dbh->prepare($sql); //insertamos las variables $stmt->bindParam(1, $nombre_cap); $stmt->bindParam(2, $id_ani); $stmt->bindParam(3, $seo); $stmt->bindParam(4, $p_reproductor_1); $stmt->bindParam(5, $p_reproductor_2); $stmt->bindParam(6, $p_reproductor_3); $stmt->bindParam(7, $p_reproductor_4); $stmt->bindParam(8, $p_reproductor_5); //definimos las variables $nombre_cap=strip_tags($_POST['nombre_cap']); $id_ani=strip_tags($_POST['id_ani']); $seo=$this->setSeo($_POST['nombre_cap']); $p_reproductor_1=($_POST['p_reproductor_1']); $p_reproductor_2=strip_tags($_POST['p_reproductor_2']); $p_reproductor_3=($_POST['p_reproductor_3']); $p_reproductor_4=($_POST['p_reproductor_4']); $p_reproductor_5=($_POST['p_reproductor_5']); $stmt->execute(); header("Location: add_capitulo.php?m=1"); }
<iframe src='http://veevr.com/embed/XgBQwgTwW' width='640' height='360' scrolling='no' frameborder='0'></iframe>
Pero loconvierte a esto:
<iframe src=/'http://veevr.com/embed/XgBQwgTwW'/ width=/'640'/ height=/'360'/ scrolling=/'no'/ frameborder=/'0'/></iframe>