GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   GFY Educational Series (https://gfy.com/forumdisplay.php?f=38)
-   -   How To Embed Stripchat Live Video (https://gfy.com/showthread.php?t=1352070)

camgirlpal 02-08-2022 02:25 PM

How To Embed Stripchat Live Video
 
Code:

<div class="stream-container">
<video id="video" style="float: left; height: auto; width: 100%;" width="560" height="315" controls></video>
<script src="https://hls-js.netlify.app/dist/hls.js"></script>
</div>

<script>
  //Instructions:
  //1: find models username on Stripchat
  //2: replace GIRLNAME with models name in URL below
  //https://go.xxxiijmp.com/api/models?modelsList=GIRLNAME&strict=1
  //3: Paste Step 2 URL into web browser
  //4: find .m3u8 link in JSON.
  //5: replace hls.loadSource() with your .m3u8 URL
 
  //JSON File For Model
  //https://go.xxxiijmp.com/api/models?modelsList=GIRLNAME&strict=1
  var video = document.getElementById('video');
  if (Hls.isSupported()) {
    var hls = new Hls({
      debug: false,
    });
    hls.loadSource("https://b-hls-09.strpst.com/hls/71127951/71127951.m3u8");
    hls.attachMedia(video);
    hls.on(Hls.Events.MEDIA_ATTACHED, function() {
      video.muted = false;
      video.play();
    });
  }
</script>

Stripchat uses .m3u8 also known as HLS (Https Live Stream). It's technology created by Apple.

Happy website building. :pimp


All times are GMT -7. The time now is 04:44 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc