Splinterlands Power of Prince Julian

11

  • 4
  • 0
  • 0.000
  • Reply

  • Open in the desktop app ADD TO PLAYLIST

    dubclub

    Published on Oct 13, 2021
    About :

    We are loving being part of the greatest Community on Twitch! Splinterlands Community is second to none on Twitch! We have a blast on everyone's streams!

    ', sites: ["facebook", "twitter", "reddit", "email"] } }); window.player = player; const author = 'dubclub'; const permlink = 'umbhfqdj' let watched = false; let midroll = false; let seconds = 0; let duration = 0; let t; let running = false; player.on('adError', (event) => { console.log("Ad Request Error: \n" + event.message) }); player.on('adComplete', (event) => { timer() }); /*player.on('time', (event) => { if ((event.position / event.duration) * 100 >= 50) { if (midroll === false) { midroll = true; // player.playAd("https://advertise.3speakcontent.online/www/api/v2/vast/?zone=6") } } });*/ function add() { if (running === true) { seconds++; } if (seconds >= 1 && watched === false) { running = false; watched = true; } if (watched === false) { timer(); } } function timer() { t = setTimeout(add, 1000); } player.on("pause", (event) => { running = false }); player.on("stop", (event) => { running = false }); player.on("play", () => { running = true; }); player.on("firstFrame", (event) => { duration = player.getDuration(); timer() grecaptcha.execute('6Le5G3MaAAAAAKXzr4reX2i2Bss8abc6CrrlEo-Z', {action: 'view'}).then(token => { $.ajax({ url: '/video/api/view', data: { v: 'dubclub/umbhfqdj', token } }); }); running = true }); $('[data-reblog]').on('click', function () { let btn = $(this); btn.html('reblog '); let [author, permlink] = btn.data('reblog').split('/'); $.ajax({ url: '/user/api/reblog', data: {author, permlink}, type: 'post', success: () => { btn.html('reblog ') } }) }); $.ajax({ url: '/user/api/creator/vote/day', type: 'post', data: {creator: "dubclub"}, success: (res => { if (!res.error) { if (res.upvoteEnabled === true) { $('#proxyNotification').removeClass('d-none'); $('#upvHoursRemaining').html(res.diff); } else if (res.upvoteEnabled === false) { //nothing } else { $('.upvoteCountdown').removeClass('d-none'); countdown(new Date(res.date)); } } }) }); $("#new-comment-btn").click((e) => { $('#loginModal').modal(); }); });