Add the introduction video to the home page and the README - #10
Merged
Conversation
"Dash Leaflet 2.0: Drone Tracking, Image Overlays & Map Packages in Python" — https://youtu.be/Wlmw98JrJZI docs/home/video.py is its own module rather than part of example.py, because the two are different things: example.py is the live Leaflet 2 demo that proves the library renders, and this is a recording that explains it. `.. exec::` imports each by module path, so the markdown places them independently. Three details worth keeping: * embedded from youtube-nocookie.com, so the player sets none of the visitor-tracking cookies the standard embed does -- this site otherwise counts nothing about a reader beyond an anonymised page view, and the embed should not quietly undo that; * `fullscreen` goes in the iframe's `allow` list, not in an `allowFullScreen` prop. Dash 4.4.1's html.Iframe does not expose the legacy attribute at all, and without the permission the player still renders a fullscreen button that silently does nothing; * a plain markdown link accompanies the player. An agent reading /llms.txt never sees an iframe, and neither does anyone whose browser blocks the embed -- verified that /llms.txt names the URL and that a crawler receives the link in the prerendered body. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
"Dash Leaflet 2.0: Drone Tracking, Image Overlays & Map Packages in Python" — https://youtu.be/Wlmw98JrJZI
docs/home/video.py is its own module rather than part of example.py, because the two are different things: example.py is the live Leaflet 2 demo that proves the library renders, and this is a recording that explains it.
.. exec::imports each by module path, so the markdown places them independently.Three details worth keeping:
fullscreengoes in the iframe'sallowlist, not in anallowFullScreenprop. Dash 4.4.1's html.Iframe does not expose the legacy attribute at all, and without the permission the player still renders a fullscreen button that silently does nothing;