{"id":1891,"date":"2025-07-08T15:29:09","date_gmt":"2025-07-08T09:59:09","guid":{"rendered":"https:\/\/devenv1.golfai.in\/?page_id=1891"},"modified":"2025-07-08T15:31:51","modified_gmt":"2025-07-08T10:01:51","slug":"1891-2","status":"publish","type":"page","link":"https:\/\/devenv1.golfai.in\/hi\/1891-2\/","title":{"rendered":""},"content":{"rendered":"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Iframe Test<\/title>\n<\/head>\n<body>\n    <h1>Testing Iframe Embedding<\/h1>\n    \n    <h2>Test 1: Basic iframe (no sandbox)<\/h2>\n    <iframe loading=\"lazy\" \n        src=\"https:\/\/videolib-git-jwtauthentication-golf-ai.vercel.app\/?debug=true&#038;wp_site=https:\/\/devenv1.golfai.in&#038;user_id=1\" \n        width=\"800\" \n        height=\"600\"\n        style=\"border: 1px solid #ccc;\">\n    <\/iframe>\n    \n    <h2>Test 2: With minimal sandbox<\/h2>\n    <iframe loading=\"lazy\" \n        src=\"https:\/\/videolib-git-jwtauthentication-golf-ai.vercel.app\/?debug=true&#038;wp_site=https:\/\/devenv1.golfai.in&#038;user_id=1\" \n        width=\"800\" \n        height=\"600\"\n        style=\"border: 1px solid #ccc;\"\n        sandbox=\"allow-scripts allow-same-origin\">\n    <\/iframe>\n    \n    <h2>Test 3: WordPress-style iframe<\/h2>\n    <iframe loading=\"lazy\" \n        src=\"https:\/\/videolib-git-jwtauthentication-golf-ai.vercel.app\/?debug=true&#038;wp_site=https:\/\/devenv1.golfai.in&#038;user_id=1\" \n        width=\"800\" \n        height=\"600\"\n        style=\"border: 1px solid #ccc;\"\n        sandbox=\"allow-same-origin allow-scripts allow-forms allow-popups allow-presentation\">\n    <\/iframe>\n    \n    <h2>Debug Info<\/h2>\n    <p>If you see &#8220;refused to connect&#8221; errors, check the browser console for details.<\/p>\n    <p>Current timestamp: <span id=\"timestamp\"><\/span><\/p>\n    \n    <script>\n        document.getElementById('timestamp').textContent = new Date().toISOString();\n        \n        \/\/ Log iframe load events\n        document.querySelectorAll('iframe').forEach((iframe, index) => {\n            iframe.onload = () => console.log(`Iframe ${index + 1} loaded successfully`);\n            iframe.onerror = (e) => console.error(`Iframe ${index + 1} failed to load:`, e);\n        });\n    <\/script>\n<\/body>\n<\/html>","protected":false},"excerpt":{"rendered":"<p>Iframe Test Testing Iframe Embedding Test 1: Basic iframe (no sandbox) Test 2: With minimal sandbox Test 3: WordPress-style iframe Debug Info If you see &#8220;refused to connect&#8221; errors, check the browser console for details. Current timestamp:<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1891","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/devenv1.golfai.in\/hi\/wp-json\/wp\/v2\/pages\/1891","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devenv1.golfai.in\/hi\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/devenv1.golfai.in\/hi\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/devenv1.golfai.in\/hi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devenv1.golfai.in\/hi\/wp-json\/wp\/v2\/comments?post=1891"}],"version-history":[{"count":3,"href":"https:\/\/devenv1.golfai.in\/hi\/wp-json\/wp\/v2\/pages\/1891\/revisions"}],"predecessor-version":[{"id":1895,"href":"https:\/\/devenv1.golfai.in\/hi\/wp-json\/wp\/v2\/pages\/1891\/revisions\/1895"}],"wp:attachment":[{"href":"https:\/\/devenv1.golfai.in\/hi\/wp-json\/wp\/v2\/media?parent=1891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}