Stripchat Cam Embed iFrame?
Posted: Mon Apr 11, 2022 9:58 pm
Any Stripcash affiliates know where this promo tool is?
I can't seem to find it in the Ad creatives.
I can't seem to find it in the Ad creatives.
Live Cams and Webcam Models Forums
https://www.camforum.co.uk/
Code: Select all
<!-- first of all, download script itself -->
<script
id="SCPlayerScript" <!-- this is important -->
type="text/javascript"
src="https://creative.your-domain.com/widgets/Player/lib.js"
></script>
<!-- then put the container somewhere in your HTML -->
<div id="player-container"></div>
<!-- finally, run the player instance -->
<script type="text/javascript">
// 1. create player instance
const player = new StripchatPlayer({
modelName: 'YOUR_MODEL_NAME_HERE',
userId: 'YOUR_USER_ID_HERE',
strict: 1,
showModal: 'signup',
autoplay: 'all',
});
// 2. mount it on prepared container
player.mount(document.getElementById('player-container')).then((app) => {
// 3. use it
/*
app
.setParams({ modelName: 'ANOTHER_MODEL_NAME' })
.then(() => {
// OK
})
.catch(() => {
// Model must be perform private show right now, try later
});
*/
// 4. remove it
// app.destroy();
})
</script>