How to fix an error of website iframe?

前端 未结 2 843
执笔经年
执笔经年 2021-01-29 11:04

When I go to this url : (warning: some Ad-blocker is recommended)

https://openload.co/embed/M4pSomdJWME/?c1_file=http://tugaflix.com/legendas/716bac991518958ad9

相关标签:
2条回答
  • 2021-01-29 11:24

    The target site has code that prevents it from being shown in an Iframe. Unfortunately you will not be able to use that url in an Iframe.

    0 讨论(0)
  • 2021-01-29 11:42

    If you're willing to design/code your own player interface then one loading option is to use a <video> tag instead of via <iframe> tag...

    <video width="640" height="480" controls crossorigin="anonymous">
    <source src="https://oload.stream/stream/M4pSomdJWME~1508775093~213.205.0.0~IzmpIUe0?mime=true" type="video/mp4">
    </video> 
    

    I'm not going to tell you how to steal access any video by code, but some advice is:

    1) You can see in the source code that a server 1508775191~213.205.0.0 is accessed for media files including subtitle VTT file). Study rest of source code. Consider why token is mentioned and why referrer is checked. What can you do pass and get same access?

    2) By using your browser's Developer Tools (especially "network" and "console" tabs), you can find the related https://oload.stream/stream/ url for any future updates or alternate embeds.

    PS:

    "but, this tugaflix.com/Episodio?E=2310910&S2 website is using that iframe"

    Look at source code of: http://tugaflix.com/Episodio?E=2310910&S2/
    You will see that no iframe is mentioned or used... They are even using two different player interfaces so you cannot assume that tugaflix.com is loading this page https://oload.stream/embed/M4pSomdJWME within some iframe. They are instead accessing the MP4 video file from some server calledhttps://lemonade-fruit.fruithosted.net/

    0 讨论(0)
提交回复
热议问题