Gunakan Browser Bawaan HP masing-masing utk FASTER Loading!

@jesusthroughtime
@jesusthroughtime

TikTok Archive – Embedded Preview


Official TikTok Embed

TikTok Archive – Embedded Preview


Official TikTok Embed

SOURCE CODE (Loading)

<!-- HEADER -->
<h2 style="text-align:center;margin:16px 0;">
  TikTok Archive – Embedded Preview
</h2>

<hr style="border:0;height:2px;background:#ddd;margin:16px 0;">

<div id="tiktok-js-wrapper">
  <h3>Official TikTok Embed</h3>

  <blockquote class="tiktok-embed"
    cite="https://www.tiktok.com/@jesusthroughtime/video/7679613443728559374"
    data-video-id="7679613443728559374"
    style="width:100%;">
    <section></section>
  </blockquote>
</div>

<div id="tiktok-iframe-wrapper" style="display:none;">
  <h3>Iframe Embed (Fallback)</h3>

  <div style="position:relative;width:100%;padding-top:177.77%;overflow:hidden;border-radius:12px;border:1px solid #ddd;">
    <iframe
      src="https://www.tiktok.com/embed/v2/7679613443728559374"
      style="position:absolute;top:0;left:0;width:100%;height:100%;border:0;"
      loading="lazy"
      allowfullscreen>
    </iframe>
  </div>
</div>

<div id="tiktok-link-fallback" style="display:none;text-align:center;margin-top:16px;">
  <a href="https://www.tiktok.com/@jesusthroughtime/video/7679613443728559374" target="_blank">
    ▶ View this video on TikTok
  </a>
</div>

<script async src="https://www.tiktok.com/embed.js"></script>

<script>
(function () {
  var jsWrapper = document.getElementById('tiktok-js-wrapper');
  var iframeWrapper = document.getElementById('tiktok-iframe-wrapper');
  var linkFallback = document.getElementById('tiktok-link-fallback');

  // Listen for TikTok's custom loaded event or check if the blockquote was processed
  window.addEventListener('message', function (event) {
    if (event.origin && event.origin.includes('tiktok.com')) {
      // If messages start flowing from TikTok embed, it loaded successfully
    }
  });

  setTimeout(function () {
    var blockquote = jsWrapper.querySelector('blockquote.tiktok-embed');
    // TikTok's script removes or heavily transforms the blockquote/adds an iframe inside it when successful
    var hasEmbeddedIframe = jsWrapper.querySelector('iframe');
    var isProcessed = blockquote && blockquote.getAttribute('data-e2e') === 'tiktok-embed-processed';

    if (!hasEmbeddedIframe && !isProcessed) {
      jsWrapper.style.display = 'none';
      iframeWrapper.style.display = 'block';

      // Check if fallback iframe fails to load or takes too long, then show text link
      var iframe = iframeWrapper.querySelector('iframe');
      var iframeTimer = setTimeout(function () {
        // If iframe hasn't rendered content or is blank, optional final fallback can trigger here
      }, 4000);

      iframe.onerror = function () {
        iframeWrapper.style.display = 'none';
        linkFallback.style.display = 'block';
      };
    }
  }, 3500);
})();
</script>


WEB aka URL Address in loading at Browser
(AUTOMATICALLY CONVERTED):
https://www.tiktok.com/@jesusthroughtime/video/7679613443728559374?_r=1&_t=ZS-99M4td3y8BR

ORI aka TIKTOK App URL:
https://vt.tiktok.com/ZSVTHcNYe/

Comments