无法在自定义 Tableview 单元格中播放视频

Cant Play the Video in Custome Tableview Cell

我在单元格容器中创建了 Costume Cell,我需要播放视频但是我尝试使用我的代码显示空的..

 func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
    {
        let cell = tableView.dequeueReusableCell(withIdentifier: "VedioCell", for: indexPath) as! FeedCell

        let videoURL = NSURL(string: "http://clips.vorwaerts-gmbh.de/VfE_html5.mp4")
        let player = AVPlayer(url: videoURL! as URL)

        let playerLayer = AVPlayerLayer(player: player)
        playerLayer.frame = cell.bounds

        cell.layer.addSublayer(playerLayer)
        player.play()



        return cell
    }

提前致谢

func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {

    let cell: FeedCell = tableView.dequeueReusableCell(withIdentifier: "VedioCell", for: indexPath) as! FeedCell

    let player = playerArray[indexPath.row]
    let playerLayer = AVPlayerLayer(player: player)
    playerLayer.frame = CGRect(x:0, y: 0, width: UIScreen.main.bounds.width, height: 200)
   cell.PlayerView?.layer.addSublayer(playerLayer)

}