Capturing src from iframe with php

0

Good afternoon, I would like to know if there is any way to repeat this code so that without jquery being totally in php

<?php
$url = "http://netcine.us/episode/ash-1x01/";
$file = file_get_contents($url);
echo $file;
?>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script><scripttype="text/javascript">
    var video = $('.player-content p iframe').attr('src');
    $('body').html(video);
  </script>
    
asked by anonymous 12.06.2018 / 19:12

0 answers