/**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function edit($id)
 {
     //
     $pelicula = pelicula::find($id);
     $reproductor = DB::table('reproductor')->where('id_pelicula', $id)->get();
     return view('peliculas.preview', compact('pelicula', 'reproductor'));
 }
 /**
  * Show the form for creating a new resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function create()
 {
     //
     $peliculas = pelicula::all();
     return view('reproductor.create', compact('peliculas'));
 }