VideoHelp Forum



Support our site by donate $5 directly to us Thanks!!!

Try StreamFab Downloader and download streaming video from Netflix, Amazon!



+ Reply to Thread
Results 1 to 3 of 3
  1. Hi.

    I am creating an .m3u8 stream from FFMpeg, which is working fine. On the same PC, with IIS installed, I can embed the stream using VideoJS and it works using the local IP 192.168.x.x.

    When I then forward my external IP to the PC, it will not display the video. It shows the player, but the stream never loads. It will only load using the local IP.

    I had wanted to then use an Iframe to put this on my website, and was going to use the cross domain CORs rules.

    I am struggling with why I cannot forward the external IP to the internal though? Is this CORs related? Because the internal IP brings up the website, and in the website is the video from the same local IP it then works, but to get it on the external IP I need to get CORs working?

    Thanks.
    Quote Quote  
  2. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    Not sure if I fully understand you.

    The video would, typically, play from your local IP since it is hosted on your own HDD. Now,assuming that scenario, the video could only play from an external IP if it is hosted on your IP's server AND that IP is a permanent one.


    But as I asked are you attempting to host the video yourself ? My guess is that your IP would be far from pleased if the site attracts much traffic.


    Many web-hosters also, for similar reasons, do not allow for video hosting and limit bandwidth or make the content unavailable.


    So the typical solution is to obtain dedicated video hosting. Whether you still need to invoke cross-domain I know not but there are many articles out there on how you set this up.
    Quote Quote  
  3. are you outside of your local network when you are trying to play from the external ip?
    have you tried other traffic from outside to your external ip and forwarded to a local ip? eg. ssh or ftp

    from: https://docs.videojs.com/tutorial-troubleshooting.html
    "Your server must implement CORS (cross-origin resource) headers if:
    You are using formats like HLS or MPEG-DASH and your media is served from a different domain than your page.
    your local webserver probably isnt aware of your external ip hostname so it appears as though its coming from a different site
    you can setup a wildcard CORS, at least for testing.
    https://opensource.com/article/20/2/video-streaming-tools
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!