{"id":567,"date":"2026-03-01T06:04:04","date_gmt":"2026-03-01T06:04:04","guid":{"rendered":"https:\/\/myiptvplayer.com\/trial-register\/"},"modified":"2026-03-01T06:04:04","modified_gmt":"2026-03-01T06:04:04","slug":"trial-register","status":"publish","type":"page","link":"https:\/\/yournextgenplay.com\/sv\/trial-register\/","title":{"rendered":"Provregistrering"},"content":{"rendered":"    <div class=\"itr-wrap\" id=\"itr-app\">\n\n        <!-- Step 1: Registration form -->\n        <div id=\"itr-step1\">\n            <div class=\"itr-header\">\n                <div class=\"itr-logo\">\ud83d\udcfa<\/div>\n                <h2>Create your free NextGen player<\/h2>\n                                <p>Register to activate your <strong>app licence<\/strong> \u2014 30 days free, no credit card. Without an account the app stops after the trial.<\/p>\n                            <\/div>\n            <div class=\"itr-card\">\n                <div id=\"itr-error1\" class=\"itr-error\" style=\"display:none;\"><\/div>\n                <div class=\"itr-field\">\n                    <label>Display Name<\/label>\n                    <input type=\"text\" id=\"itr-name\" placeholder=\"Your name\" autocomplete=\"name\">\n                <\/div>\n                <div class=\"itr-field\">\n                    <label>Email Address<\/label>\n                    <input type=\"email\" id=\"itr-email\" placeholder=\"you@example.com\" autocomplete=\"email\">\n                <\/div>\n                <div class=\"itr-field\">\n                    <label>Password<\/label>\n                    <div class=\"itr-pass-wrap\">\n                        <input type=\"password\" id=\"itr-pass\" placeholder=\"Min. 8 characters\" autocomplete=\"new-password\">\n                        <button type=\"button\" class=\"itr-eye\" onclick=\"itrTogglePass('itr-pass',this)\" aria-label=\"Show password\">\n                            <svg class=\"itr-eye-open\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z\"\/><circle cx=\"12\" cy=\"12\" r=\"3\"\/><\/svg>\n                            <svg class=\"itr-eye-closed\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" style=\"display:none\"><path d=\"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24\"\/><line x1=\"1\" y1=\"1\" x2=\"23\" y2=\"23\"\/><\/svg>\n                        <\/button>\n                    <\/div>\n                <\/div>\n                <div class=\"itr-field\">\n                    <label>Confirm Password<\/label>\n                    <div class=\"itr-pass-wrap\">\n                        <input type=\"password\" id=\"itr-pass2\" placeholder=\"Repeat password\" autocomplete=\"new-password\">\n                        <button type=\"button\" class=\"itr-eye\" onclick=\"itrTogglePass('itr-pass2',this)\" aria-label=\"Show password\">\n                            <svg class=\"itr-eye-open\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z\"\/><circle cx=\"12\" cy=\"12\" r=\"3\"\/><\/svg>\n                            <svg class=\"itr-eye-closed\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" style=\"display:none\"><path d=\"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24\"\/><line x1=\"1\" y1=\"1\" x2=\"23\" y2=\"23\"\/><\/svg>\n                        <\/button>\n                    <\/div>\n                <\/div>\n                <button class=\"itr-btn\" id=\"itr-btn1\" onclick=\"itrSendCode()\">\n                    <span id=\"itr-btn1-text\">Continue \u2192<\/span>\n                    <span id=\"itr-btn1-spin\" style=\"display:none;\">Sending...<\/span>\n                <\/button>\n                <p class=\"itr-login-link\">Already have an account? <a href=\"https:\/\/yournextgenplay.com\/sv\/login\">Log in \u2192<\/a><\/p>\n            <\/div>\n            <div class=\"itr-trial-badge\">\u2705 30-day free trial &nbsp;|&nbsp; \u2705 No credit card &nbsp;|&nbsp; \u2705 Cancel anytime<\/div>\n        <\/div>\n\n        <!-- Step 2: Verify code -->\n        <div id=\"itr-step2\" style=\"display:none;\">\n            <div class=\"itr-header\">\n                <div class=\"itr-logo\">\ud83d\udce7<\/div>\n                <h2>Check Your Email<\/h2>\n                <p id=\"itr-step2-email\">We sent a 6-digit code to your email<\/p>\n            <\/div>\n            <div class=\"itr-card\">\n                <div id=\"itr-error2\" class=\"itr-error\" style=\"display:none;\"><\/div>\n                <div class=\"itr-field\">\n                    <label>Verification Code<\/label>\n                    <input type=\"text\" id=\"itr-code\" placeholder=\"Enter 6-digit code\" maxlength=\"6\" inputmode=\"numeric\" pattern=\"[0-9]*\" autocomplete=\"one-time-code\" style=\"font-size:1.6rem;text-align:center;letter-spacing:0.3em;\">\n                <\/div>\n                <button class=\"itr-btn\" id=\"itr-btn2\" onclick=\"itrVerifyCode()\">\n                    <span id=\"itr-btn2-text\">Create Account \u2192<\/span>\n                    <span id=\"itr-btn2-spin\" style=\"display:none;\">Creating account...<\/span>\n                <\/button>\n                <p class=\"itr-login-link\">Didn't receive it? <a href=\"#\" onclick=\"itrGoBack();return false;\">\u2190 Go back and resend<\/a><\/p>\n            <\/div>\n        <\/div>\n\n        <!-- Step 3: Success -->\n        <div id=\"itr-step3\" style=\"display:none;\">\n            <div class=\"itr-header\">\n                <div class=\"itr-logo\">\ud83c\udf89<\/div>\n                <h2>Welcome!<\/h2>\n                <p>Your 30-day trial is now active<\/p>\n            <\/div>\n            <div class=\"itr-card itr-success-card\">\n                <div class=\"itr-success-icon\">\u2705<\/div>\n                <p class=\"itr-success-text\">Account created successfully.<br>Redirecting to your support area...<\/p>\n                <div class=\"itr-progress-bar\"><div class=\"itr-progress-fill\" id=\"itr-progress\"><\/div><\/div>\n            <\/div>\n        <\/div>\n\n    <\/div>\n\n    <style>\n    .itr-wrap { max-width: 440px; margin: 40px auto; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }\n    .itr-header { text-align: center; margin-bottom: 24px; }\n    .itr-logo { font-size: 2.5rem; margin-bottom: 12px; }\n    .itr-header h2 { color: #141414; font-size: 1.6rem; margin: 0 0 8px; }\n    .itr-header p { color: #555; margin: 0; font-size: 0.95rem; }\n    .itr-card { background: #ffffff; border: 1px solid #e6e6e6; border-radius: 12px; padding: 28px; box-shadow:0 12px 40px rgba(0,0,0,.08); }\n    .itr-error { background: #3a1520; border: 1px solid #c0392b; color: #e74c3c; padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; font-size: 0.9rem; }\n    .itr-field { margin-bottom: 18px; }\n    .itr-field label { display: block; color: #555; font-size: 0.85rem; margin-bottom: 6px; font-weight: 500; }\n    .itr-field input { width: 100%; background: #ffffff; border: 1px solid #cccccc; border-radius: 8px; color: #141414; padding: 12px 14px; font-size: 1rem; box-sizing: border-box; outline: none; transition: border-color 0.2s; }\n    .itr-field input:focus { border-color: #5a4fcf; }\n    .itr-pass-wrap { position: relative; }\n    .itr-pass-wrap input { padding-right: 46px; }\n    .itr-eye { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #888; cursor: pointer; padding: 4px; display: flex; align-items: center; opacity: 0.8; }\n    .itr-eye:hover { opacity: 1; color: #5a4fcf; }\n    .itr-btn { width: 100%; background: #5a4fcf; color: #fff; border: none; border-radius: 8px; padding: 14px; font-size: 1rem; font-weight: 600; cursor: pointer; margin-top: 8px; transition: background 0.2s; }\n    .itr-btn:hover { background: #4840b5; }\n    .itr-btn:disabled { background: #555; cursor: default; }\n    .itr-login-link { text-align: center; color: #888; font-size: 0.85rem; margin: 16px 0 0; }\n    .itr-login-link a { color: #5a4fcf; text-decoration: none; }\n    .itr-trial-badge { text-align: center; color: #666; font-size: 0.8rem; margin-top: 18px; }\n    .itr-success-card { text-align: center; }\n    .itr-success-icon { font-size: 3rem; margin-bottom: 16px; }\n    .itr-success-text { color: #444; line-height: 1.6; margin-bottom: 20px; }\n    .itr-progress-bar { height: 6px; background: #eee; border-radius: 3px; overflow: hidden; }\n    .itr-progress-fill { height: 100%; background: #5a4fcf; border-radius: 3px; width: 0%; transition: width 3s linear; }\n    <\/style>\n\n    <script>\n    var _itrEmail = '', _itrName = '', _itrPass = '';\n    var _itrGift = \"\";\n\n    function itrSendCode() {\n        var name  = document.getElementById('itr-name').value.trim();\n        var email = document.getElementById('itr-email').value.trim();\n        var pass  = document.getElementById('itr-pass').value;\n        var pass2 = document.getElementById('itr-pass2').value;\n        var err   = document.getElementById('itr-error1');\n\n        err.style.display = 'none';\n\n        if (!name)             { itrErr(err, 'Please enter your display name.'); return; }\n        if (!email || !email.includes('@')) { itrErr(err, 'Please enter a valid email address.'); return; }\n        if (pass.length < 8)   { itrErr(err, 'Password must be at least 8 characters.'); return; }\n        if (pass !== pass2)    { itrErr(err, 'Passwords do not match.'); return; }\n\n        _itrEmail = email; _itrName = name; _itrPass = pass;\n\n        var btn = document.getElementById('itr-btn1');\n        btn.disabled = true;\n        document.getElementById('itr-btn1-text').style.display = 'none';\n        document.getElementById('itr-btn1-spin').style.display = 'inline';\n\n        fetch('https:\/\/yournextgenplay.com\/wp-admin\/admin-ajax.php', {\n            method: 'POST',\n            headers: {'Content-Type': 'application\/x-www-form-urlencoded'},\n            body: 'action=iptv_send_reg_code&nonce=180895be83&name=' + encodeURIComponent(name) + '&email=' + encodeURIComponent(email) + '&pass=' + encodeURIComponent(pass)\n        })\n        .then(r => r.json())\n        .then(d => {\n            btn.disabled = false;\n            document.getElementById('itr-btn1-text').style.display = 'inline';\n            document.getElementById('itr-btn1-spin').style.display = 'none';\n            if (d.success) {\n                document.getElementById('itr-step2-email').textContent = 'We sent a 6-digit code to ' + email;\n                document.getElementById('itr-step1').style.display = 'none';\n                document.getElementById('itr-step2').style.display = 'block';\n                document.getElementById('itr-code').focus();\n            } else {\n                itrErr(err, d.data || 'Something went wrong. Please try again.');\n            }\n        })\n        .catch(() => {\n            btn.disabled = false;\n            document.getElementById('itr-btn1-text').style.display = 'inline';\n            document.getElementById('itr-btn1-spin').style.display = 'none';\n            itrErr(err, 'Network error. Please try again.');\n        });\n    }\n\n    function itrVerifyCode() {\n        var code = document.getElementById('itr-code').value.trim();\n        var err  = document.getElementById('itr-error2');\n        err.style.display = 'none';\n\n        if (code.length !== 6 || !\/^\\d+$\/.test(code)) {\n            itrErr(err, 'Please enter the 6-digit code from your email.'); return;\n        }\n\n        var btn = document.getElementById('itr-btn2');\n        btn.disabled = true;\n        document.getElementById('itr-btn2-text').style.display = 'none';\n        document.getElementById('itr-btn2-spin').style.display = 'inline';\n\n        fetch('https:\/\/yournextgenplay.com\/wp-admin\/admin-ajax.php', {\n            method: 'POST',\n            headers: {'Content-Type': 'application\/x-www-form-urlencoded'},\n            body: 'action=iptv_verify_reg_code&nonce=180895be83&code=' + encodeURIComponent(code) + '&email=' + encodeURIComponent(_itrEmail) + '&name=' + encodeURIComponent(_itrName) + '&pass=' + encodeURIComponent(_itrPass) + '&gift=' + encodeURIComponent(_itrGift)\n        })\n        .then(r => r.json())\n        .then(d => {\n            btn.disabled = false;\n            document.getElementById('itr-btn2-text').style.display = 'inline';\n            document.getElementById('itr-btn2-spin').style.display = 'none';\n            if (d.success) {\n                document.getElementById('itr-step2').style.display = 'none';\n                document.getElementById('itr-step3').style.display = 'block';\n                setTimeout(() => {\n                    document.getElementById('itr-progress').style.width = '100%';\n                }, 100);\n                setTimeout(() => { window.location.href = d.data.redirect; }, 3200);\n            } else {\n                itrErr(err, d.data || 'Something went wrong. Please try again.');\n            }\n        })\n        .catch(() => {\n            btn.disabled = false;\n            document.getElementById('itr-btn2-text').style.display = 'inline';\n            document.getElementById('itr-btn2-spin').style.display = 'none';\n            itrErr(err, 'Network error. Please try again.');\n        });\n    }\n\n    function itrGoBack() {\n        document.getElementById('itr-step2').style.display = 'none';\n        document.getElementById('itr-step1').style.display = 'block';\n        document.getElementById('itr-error1').style.display = 'none';\n    }\n\n    function itrTogglePass(id, btn) {\n        var inp = document.getElementById(id);\n        var show = inp.type === 'password';\n        inp.type = show ? 'text' : 'password';\n        btn.querySelector('.itr-eye-open').style.display  = show ? 'none' : '';\n        btn.querySelector('.itr-eye-closed').style.display = show ? '' : 'none';\n    }\n\n    function itrErr(el, msg) {\n        el.textContent = msg;\n        el.style.display = 'block';\n    }\n\n    \/\/ Allow Enter key\n    document.addEventListener('keydown', function(e) {\n        if (e.key === 'Enter') {\n            if (document.getElementById('itr-step1').style.display !== 'none') itrSendCode();\n            else if (document.getElementById('itr-step2').style.display !== 'none') itrVerifyCode();\n        }\n    });\n    <\/script>\n    \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":0,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-567","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/yournextgenplay.com\/sv\/wp-json\/wp\/v2\/pages\/567","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yournextgenplay.com\/sv\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/yournextgenplay.com\/sv\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/yournextgenplay.com\/sv\/wp-json\/wp\/v2\/comments?post=567"}],"version-history":[{"count":0,"href":"https:\/\/yournextgenplay.com\/sv\/wp-json\/wp\/v2\/pages\/567\/revisions"}],"wp:attachment":[{"href":"https:\/\/yournextgenplay.com\/sv\/wp-json\/wp\/v2\/media?parent=567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}