Skip to content

docs: add Ideogram 4.0 tutorial video embed (EN/ZH/JA/KO)#1168

Closed
lin-bot23 wants to merge 1 commit into
Comfy-Org:mainfrom
lin-bot23:feat/ideogram-v4-youtube-video
Closed

docs: add Ideogram 4.0 tutorial video embed (EN/ZH/JA/KO)#1168
lin-bot23 wants to merge 1 commit into
Comfy-Org:mainfrom
lin-bot23:feat/ideogram-v4-youtube-video

Conversation

@lin-bot23

Copy link
Copy Markdown
Contributor

Embed the Ideogram 4.0 YouTube tutorial video into 8 documents across 2 tutorial paths in all 4 supported languages.

Files changed:

  • tutorials/image/ideogram/ideogram-v4.mdx (EN) — add Video Tutorial section before Workflow
  • tutorials/partner-nodes/ideogram/ideogram-v4.mdx (EN) — same
  • zh/tutorials/image/ideogram/ideogram-v4.mdx (ZH)
  • zh/tutorials/partner-nodes/ideogram/ideogram-v4.mdx (ZH)
  • ja/tutorials/image/ideogram/ideogram-v4.mdx (JA)
  • ja/tutorials/partner-nodes/ideogram/ideogram-v4.mdx (JA)
  • ko/tutorials/image/ideogram/ideogram-v4.mdx (KO)
  • ko/tutorials/partner-nodes/ideogram/ideogram-v4.mdx (KO)

Embed the Ideogram 4.0 YouTube tutorial video in 8 files across
tutorials/image/ideogram/ and tutorials/partner-nodes/ideogram/
for all 4 languages (EN/ZH/JA/KO).
@coderabbitai

coderabbitai Bot commented Jun 20, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

A YouTube iframe embed for the "Ideogram 4.0 Video Tutorial" is inserted into all eight locale variants (English, Japanese, Korean, Chinese) of the Ideogram v4 MDX tutorial pages, covering both the tutorials/image/ideogram/ and tutorials/partner-nodes/ideogram/ directory paths.

Changes

Ideogram v4 YouTube Embed (All Locales)

Layer / File(s) Summary
English tutorial pages: YouTube embed added
tutorials/image/ideogram/ideogram-v4.mdx, tutorials/partner-nodes/ideogram/ideogram-v4.mdx
Adds a new "Ideogram 4.0 Video Tutorial" heading and a styled YouTube iframe (Tailwind classes, embed URL, fullscreen/permission attributes) to both English tutorial pages.
Japanese tutorial pages: YouTube embed added
ja/tutorials/image/ideogram/ideogram-v4.mdx, ja/tutorials/partner-nodes/ideogram/ideogram-v4.mdx
Adds the "Ideogram 4.0 ビデオチュートリアル" section with an equivalent YouTube iframe to both Japanese-locale tutorial pages.
Korean tutorial pages: YouTube embed added
ko/tutorials/image/ideogram/ideogram-v4.mdx, ko/tutorials/partner-nodes/ideogram/ideogram-v4.mdx
Adds the "Ideogram 4.0 비디오 튜토리얼" section with a YouTube iframe to both Korean-locale tutorial pages.
Chinese tutorial pages: YouTube embed added
zh/tutorials/image/ideogram/ideogram-v4.mdx, zh/tutorials/partner-nodes/ideogram/ideogram-v4.mdx
Adds the "Ideogram 4.0 视频教程" section with a YouTube iframe to both Chinese-locale tutorial pages.

You could say this PR is quite the embed-ment of multilingual effort — iframe today, fluent tomorrow! 🎬

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
✨ Simplify code
  • Create PR with simplified code

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@tutorials/image/ideogram/ideogram-v4.mdx`:
- Around line 15-21: The iframe element is missing security and privacy
attributes required by the repo's established YouTube embed pattern. Add the
missing referrerpolicy attribute with value "strict-origin-when-cross-origin" to
control referrer data privacy. Expand the allow attribute list to include both
"autoplay" and "web-share" in addition to the existing permissions.
Additionally, align the styling approach with the repo's pattern by either
replacing the Tailwind className approach with inline style attributes (width:
"100%" and borderRadius: "0.5rem") or confirming that the Tailwind className
approach is now the standard across all embeds in the repo. Consider also adding
the frameborder="0" attribute for consistency with the established pattern in
the repository, even though it is deprecated in HTML5.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: c3787c89-af98-4e7e-9069-4fa82a258c9d

📥 Commits

Reviewing files that changed from the base of the PR and between e7c485c and f08087b.

📒 Files selected for processing (8)
  • ja/tutorials/image/ideogram/ideogram-v4.mdx
  • ja/tutorials/partner-nodes/ideogram/ideogram-v4.mdx
  • ko/tutorials/image/ideogram/ideogram-v4.mdx
  • ko/tutorials/partner-nodes/ideogram/ideogram-v4.mdx
  • tutorials/image/ideogram/ideogram-v4.mdx
  • tutorials/partner-nodes/ideogram/ideogram-v4.mdx
  • zh/tutorials/image/ideogram/ideogram-v4.mdx
  • zh/tutorials/partner-nodes/ideogram/ideogram-v4.mdx

Comment on lines +15 to +21
<iframe
className="w-full aspect-video rounded-xl"
src="https://www.youtube.com/embed/gO-D5eO8VlA?si=ehD_qzll3yCzirpP"
title="Ideogram 4.0 in ComfyUI"
allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
></iframe>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Missing referrerpolicy and incomplete allow list—deviates from repo's established YouTube iframe pattern.

The iframe is missing two security/privacy attributes present in the repo's standard YouTube embed (seen in registry/publishing.mdx:11-15):

  • referrerpolicy="strict-origin-when-cross-origin" – controls referrer data sent to YouTube
  • Missing permissions in the allow list: "autoplay" and "web-share"

Additionally, the repo's pattern uses inline style={{ width: "100%", borderRadius: "0.5rem" }} for layout; this code uses Tailwind className. If the codebase is transitioning to Tailwind, that's fine—but ensure consistency across the repo. Frameborder, while deprecated in HTML5, is also present in the repo's pattern and should be included for consistency.

🔒️ Proposed fix to align with repo's iframe pattern
 <iframe
-  className="w-full aspect-video rounded-xl"
+  style={{ width: "100%", borderRadius: "0.5rem" }}
   src="https://www.youtube.com/embed/gO-D5eO8VlA?si=ehD_qzll3yCzirpP"
   title="Ideogram 4.0 in ComfyUI"
+  frameborder="0"
-  allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
+  allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
+  referrerpolicy="strict-origin-when-cross-origin"
   allowFullScreen
 ></iframe>

Alternatively, if the codebase uses Tailwind CSS, confirm this styling approach is consistent with other embeds in the repo and keep className, but do add the missing security attributes (referrerpolicy, expanded allow).

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<iframe
className="w-full aspect-video rounded-xl"
src="https://www.youtube.com/embed/gO-D5eO8VlA?si=ehD_qzll3yCzirpP"
title="Ideogram 4.0 in ComfyUI"
allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
></iframe>
<iframe
style={{ width: "100%", borderRadius: "0.5rem" }}
src="https://www.youtube.com/embed/gO-D5eO8VlA?si=ehD_qzll3yCzirpP"
title="Ideogram 4.0 in ComfyUI"
frameBorder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerpolicy="strict-origin-when-cross-origin"
allowFullScreen
></iframe>
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tutorials/image/ideogram/ideogram-v4.mdx` around lines 15 - 21, The iframe
element is missing security and privacy attributes required by the repo's
established YouTube embed pattern. Add the missing referrerpolicy attribute with
value "strict-origin-when-cross-origin" to control referrer data privacy. Expand
the allow attribute list to include both "autoplay" and "web-share" in addition
to the existing permissions. Additionally, align the styling approach with the
repo's pattern by either replacing the Tailwind className approach with inline
style attributes (width: "100%" and borderRadius: "0.5rem") or confirming that
the Tailwind className approach is now the standard across all embeds in the
repo. Consider also adding the frameborder="0" attribute for consistency with
the established pattern in the repository, even though it is deprecated in
HTML5.

@lin-bot23

Copy link
Copy Markdown
Contributor Author

Closing — this is a founders interview/live stream, not a tutorial video, so it doesn't fit in the tutorial doc.

@lin-bot23 lin-bot23 closed this Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant