Add Heritage Sites Viewer with YouTube video player - #78
Open
fnobi wants to merge 8 commits into
Open
Conversation
YouTube動画のチャプターリスト(93か所)からサイトを選ぶとその映像が埋め込みプレイヤーで再生されるアプリ。サイドバーに全リストを表示し、クリックすると対応する開始秒数からYouTubeが自動再生される。 https://claude.ai/code/session_01G1Ase8ZwqLxkFBW1fBRYjo
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
HeritageSiteスキーマにlat/lngフィールドを追加し、全件に座標を付与。 https://claude.ai/code/session_01G1Ase8ZwqLxkFBW1fBRYjo
初期表示を世界地図に変更。全スポットに金色ピンを配置し、 ピンクリックでInfoWindowが開き「動画を見る」ボタンから 右パネルに動画を表示する。サイドバーリストクリックで 地図をズームインしInfoWindowを自動表示。 https://claude.ai/code/session_01G1Ase8ZwqLxkFBW1fBRYjo
google.maps.MarkerをOverlayViewF+カスタムDOMピンに差し替え。 mapId不要のまま非推奨警告を解消。 https://claude.ai/code/session_01G1Ase8ZwqLxkFBW1fBRYjo
- useJsApiLoaderにlanguage:"ja"を追加してマップUIを日本語化 - 動画パネルをサイドカラムからMapArea上の絶対配置オーバーレイに変更し、マップ全面に動画を表示 https://claude.ai/code/session_01G1Ase8ZwqLxkFBW1fBRYjo
ピンを22px円に拡大して番号を内側に表示。 サイドバーも同じ番号バッジを先頭に配置し、対応関係を視認可能に。 https://claude.ai/code/session_01G1Ase8ZwqLxkFBW1fBRYjo
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
Introduces a new Heritage Sites Viewer component that displays a curated list of world heritage sites and scenic locations with an embedded YouTube video player. Users can browse through 100+ locations in a sidebar and watch video segments corresponding to each site.
Key Changes
New Component:
HeritageViewerScene- A full-screen viewer with a sidebar navigation and embedded YouTube playerNew Schema:
HeritageSitetype andHERITAGE_SITESdatasetUpdated Home Page: Replaced
TopScenewithHeritageViewerSceneas the main page componentImplementation Details
useState) for site selection state managementstartparameter for precise video positioninghttps://claude.ai/code/session_01G1Ase8ZwqLxkFBW1fBRYjo