How is jav.sh serving button for embed video?

Status
Not open for further replies.
3 comments
I'm assuming you mean the play button that loads the iframe? As I pointed out in the thread about that other jav site, it's a dumb idea. A complete waste of dev time and server resources with nothing to show for it. If the idea is to hide the embed URL anyway. Maybe it automatically replaces dead links too in which case it does fill a use case. At any rate, when you click the play button it inserts this iframe:

JavaScript:
function() {
  jQuery('.play-button').remove();
  jQuery(".wps-iframe-loader").show();
  jQuery(".responsive-player").append('<iframe src="https://player.jav.sh/embed.html#6872384c43715468" id="playeriframe" frameborder="0" width="640" height="360" scrolling="no" allowfullscreen></iframe>')
  if (window.location.host.indexOf('localhost') == -1) {
    gtag('event', 'load-rv', {
      'event_category': 'Load-iframe'
    });
  }
}

With 6872384c43715468 as the ID that page will then call https://player.jav.sh/stream/6872384c43715468 which returns the real embed URL, poster etc:

JSON:
{
  "id": "123887",
  "poster": "https://filetr.jav.sh/mbrbc-001.jpg",
  "list": [
    {
      "url": "https://streamsb.net/embed-tk2pdvymuwzw.html?poster=https://filetr.jav.sh/mbrbc-001.jpg",
      "active": 1,
      "server": "StreamSB"
    }
  ]
}

Most likely a simple custom script.
 
Last edited:
I'm assuming you mean the play button that loads the iframe? As I pointed out in the thread about that other jav site, it's a dumb idea. A complete waste of dev time and server resources with nothing to show for it. If the idea is to hide the embed URL anyway. Maybe it automatically replaces dead links too in which case it does fill a use case. At any rate, when you click the play button it inserts this iframe:

JavaScript:
function() {
  jQuery('.play-button').remove();
  jQuery(".wps-iframe-loader").show();
  jQuery(".responsive-player").append('<iframe src="https://player.jav.sh/embed.html#6872384c43715468" id="playeriframe" frameborder="0" width="640" height="360" scrolling="no" allowfullscreen></iframe>')
  if (window.location.host.indexOf('localhost') == -1) {
    gtag('event', 'load-rv', {
      'event_category': 'Load-iframe'
    });
  }
}

With 6872384c43715468 as the ID that page will then call https://player.jav.sh/stream/6872384c43715468 which returns the real embed URL, poster etc:

JSON:
{
  "id": "123887",
  "poster": "https://filetr.jav.sh/mbrbc-001.jpg",
  "list": [
    {
      "url": "https://streamsb.net/embed-tk2pdvymuwzw.html?poster=https://filetr.jav.sh/mbrbc-001.jpg",
      "active": 1,
      "server": "StreamSB"
    }
  ]
}

Most likely a simple custom script.
Wow.. U really make it Simple to Understand.. Thank you
 
I have 2 questions
1. how to implement this type of script to my wordpress site.. if you can
2. its possible to get embed url of real source of video
Post automatically merged:

I'm assuming you mean the play button that loads the iframe? As I pointed out in the thread about that other jav site, it's a dumb idea. A complete waste of dev time and server resources with nothing to show for it. If the idea is to hide the embed URL anyway. Maybe it automatically replaces dead links too in which case it does fill a use case. At any rate, when you click the play button it inserts this iframe:

your js code

Most likely a simple custom script.
hey its possible to implement this script to my wordpress website to hide my embed urls
 
Last edited:
Status
Not open for further replies.
Back
Top