Add interactive Rails embeds and chapter animations - #1
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
animate_it_embedcustom element with responsive variants, poster-first readiness, visibility lifecycle, and accessible host controlsanimate_it_player, track schema v2,AnimateItTransport, Studio, and render compatibilityAPI
= animate_it_embed( "home-hiring-flow", poster: image_path("desktop.webp"), variants: [{ media: "(max-width: 767px)", composition: "home-hiring-flow-mobile", poster: image_path("mobile.webp") }], navigation: { preset: :pills, mobile: :carousel }, load_when_visible: 0.25, play_when_visible: 2.0 / 3, reduced_motion: :poster )Screenshots
Desktop
Mobile
Security and compatibility
animate_it_playerremains the unchanged low-level iframe helperAnimateItTransportremains a compatibility aliasVerification
Release
After merge, the release workflow gates publication on the full CI suite, publishes
animate_it 0.5.0through RubyGems trusted publishing, createsv0.5.0, and creates a GitHub release from the curatedCHANGELOG.mdentry. Missing or empty release descriptions fail before publication.