embed builder
kisskh embed
generate an embeddable player for any kisskh title. enter the drama ID and episode ID, configure playback parameters like autoplay, skipIntro and t — then copy the iframe code or shareable URL.
click to load iframe + url postMessage ready
player settings
source 01
kisskh host locked
episode & server 02
playback 03
autoplaystart automatically
auto skip introjump past opening
live preview
iframe embed code
embed parameters
06 · supported
| param | values | description |
|---|---|---|
id | numeric | The drama ID from the kisskh URL. Required. |
ep | numeric | Episode ID (kisskh's episode identifier, not just the number). Defaults to 1. |
autoplay | 1 | 0 | Override the viewer's autoplay preference. |
skipIntro | 1 | 0 | Automatically skip the opening sequence when markers are available. |
t | seconds | Start at an explicit timestamp. |
server | default | Preferred server group. Only default is supported. |
embed reference
iframe attributes copy-paste ready
srcThe full embed URL. Required.
allowInclude
autoplay and encrypted-media for playback. allowfullscreenEnables the fullscreen button in the player UI.
referrerpolicyUse
strict-origin-when-cross-origin to avoid hotlink blocks. gotchas read before shipping
httpsEmbed only on HTTPS pages to avoid mixed-content blocks.
serverOnly
default is supported right now. If playback fails, try a different episode before assuming the host is down. episode idThe path needs the episode ID (
227550), not the episode number. Grab it from the kisskh URL after the drama ID. autoplayMost browsers block autoplay with sound until the user clicks. Click-to-load counts as interaction, so it usually works here.
player events & postMessage
iframe js api
events emitted player → parent
timeSent during playback with current position.
{ event:"time", time, duration, percent }completeSent when playback reaches the end.
{ event:"complete" }errorSent when playback fails.
{ event:"error", message }watching-logWatch-time log.
{ type:"watching-log", currentTime, duration }integration example copy-paste ready
live event log live
// waiting for player events… click play first
embed faq
07 · entries
Q1 what is the drama ID and episode ID?
The drama ID is the first numeric segment in the kisskh URL (
kisskh.co/Drama/13893 → 13893). The episode ID is the second numeric segment after the episode marker ( /13893/227550 → 227550). Both go into the embed URL path: /kisskh/{dramaId}/{episodeId}. Q2 how do I start at a specific timestamp?
Pass
t in seconds. For example t=120 starts playback 2 minutes in. This is applied after the player initialises and the stream is ready. Q3 does autoplay always work?
Autoplay is subject to browser policy. Most browsers block autoplay with sound until the user interacts. On this builder page the iframe only loads after you click the play button — that click counts as user interaction, so autoplay usually works.
Q4 how do I listen to player events?
Add a
message listener on window. The player may send data.event or data.type, and sometimes a data.channel === "megacloud" marker. Always check both data.event and data.type — see the integration snippet above and the live event log below it. Q5 how do I auto-next or track watch time?
Listen for
data.event === "complete" to auto-advance to the next episode. Listen for data.type === "watching-log" (with currentTime and duration) to accumulate watch time. You can also use data.event === "time" for progress-bar updates. In production, always check event.origin before trusting the payload. Q6 why is the player not loading?
Check that both the drama ID and episode ID are correct. If the kisskh host has no source for that episode, or the host is down, the player will show an
error event. Try a different episode, or switch the server (only default is currently supported). Q7 can I embed this on my own site?
Yes — the iframe snippet is plain HTML. Serve your page over HTTPS and make sure your CSP allows iframes from
embed.vidwave.sbs. Copy the snippet from the builder above.