title: Play a stream from url in a text file mpegURL
body: <p>Hello i have this code</p>
  <pre><code>  &lt;!DOCTYPE html&gt;
      &lt;html&gt;
      &lt;head&gt;
      &lt;meta charset=utf-8 /&gt;
  &lt;title&gt;CHANNEL&lt;/title&gt;
  
      
        &lt;link href=&quot;https://unpkg.com/video.js/dist/video-js.css&quot; rel=&quot;stylesheet&quot;&gt;
        &lt;script src=&quot;https://unpkg.com/video.js/dist/video.js&quot;&gt;&lt;/script&gt;
        &lt;script src=&quot;https://unpkg.com/videojs-contrib-hls/dist/videojs-contrib-hls.js&quot;&gt;&lt;/script&gt;
         
      &lt;/head&gt;
      &lt;body&gt;
      &lt;?php $video = file_get_contents(&quot;channel_url.txt&quot;); ?&gt;
        &lt;video id=&quot;my_video_1&quot; class=&quot;video-js vjs-fluid vjs-default-skin&quot; controls preload=&quot;auto&quot;
        data-setup='{}'&gt;
          &lt;source src=&quot;$video&quot; type=&quot;application/x-mpegURL&quot;&gt;
  &lt;/video&gt;
        
      &lt;script&gt;
      var player = videojs('my_video_1');
      player.play();
      &lt;/script&gt;
        
      &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>
  <p>What im trying to do is read the .txt file which contains the stream m3u8 url but my code seems missing something...</p>
  <p>Thanks in advance</p>