{"id":16174819,"url":"https://github.com/app-generator/sticky-media","last_synced_at":"2026-05-17T06:38:07.670Z","repository":{"id":65791477,"uuid":"599918566","full_name":"app-generator/sticky-media","owner":"app-generator","description":"Simple Vanilla JS library for Sticky Media content | AppSeed","archived":false,"fork":false,"pushed_at":"2023-07-25T19:59:52.000Z","size":3139,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-16T10:48:19.166Z","etag":null,"topics":["appseed","npm-package","sticky-elements","sticky-video"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/sticky-media","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/app-generator.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-10T06:58:28.000Z","updated_at":"2023-07-26T17:26:25.000Z","dependencies_parsed_at":"2025-04-07T10:37:26.423Z","dependency_job_id":"c447eeee-b18c-4df0-820f-fadc640681f5","html_url":"https://github.com/app-generator/sticky-media","commit_stats":null,"previous_names":[],"tags_count":19,"template":true,"template_full_name":null,"purl":"pkg:github/app-generator/sticky-media","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fsticky-media","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fsticky-media/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fsticky-media/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fsticky-media/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/app-generator","download_url":"https://codeload.github.com/app-generator/sticky-media/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fsticky-media/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261380899,"owners_count":23149963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appseed","npm-package","sticky-elements","sticky-video"],"created_at":"2024-10-10T04:43:27.034Z","updated_at":"2025-10-16T11:10:29.585Z","avatar_url":"https://github.com/app-generator.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Sticky Media](https://github.com/app-generator/sticky-media)\n\nSimple Vanilla JS library for `Sticky Media` content (YouTube videos) - actively supported by [AppSeed](https://appseed.us/).\n\n- [Sticky Media](https://sticky-media.appseed-srv1.com/) - `Live DEMO`\n- Free [Support](https://appseed.us/support/) via `Email` \u0026 `Discord`\n- Supported YouTube Links(just a few from [this](https://gist.github.com/rodrigoborgesdeoliveira/987683cfbfcc8d800192da1e73adc486) list)\n  - `https://www.youtube.com/watch?v=EtMCK5AmdQI`\n  - `https://youtube.com/embed/9HqyJ_80JwI`\n  - `https://youtu.be/IM-PJrlgBe8`\n  - `https://m.youtube.com/v/dQw4w9WgXcQ`\n- If the VideoID cannot be extracted the URL is handled via `window.open(VideoId)`\n\n\u003cbr /\u003e\n\n![Sticky Media - Simple Vanilla JS library for media content.](https://user-images.githubusercontent.com/51070104/219113563-1b00882d-1501-4ea4-b81c-f64ab99dfec2.jpg)\n\n\u003cbr /\u003e\n\n## Table of contents\n\n- [Environment](#environment)\n- [Manual Preview](#manual-preview)\n- [Quick use](#quick-use)\n- [License](#license)\n\n\u003cbr /\u003e\n\n## Environment\n\nProject create with:\n\n- Node JS \u003e= 14x\n\n\u003cbr /\u003e\n\n## Manual Preview \n\n\u003e Using **Python** \n\n`$ python -m http.server 9999`\n\n\u003e Using **PHP**\n\n`$ php -S localhost:9999`\n\n\u003cbr /\u003e\n\n## Setup\n\nInstall it locally using PyPI:\n\n```bash\n$ npm i sticky-media\n```\n\n\u003cbr /\u003e\n\n## Quick use\n\nSimply and functional example/s of use.\n\n\u003e **Step 1**: `Import the JS` (local storage)\n\n```javascript\n\u003cscript src=\"dist/index.js\"\u003e\u003c/script\u003e\n```\n\nOr you can simply use `CDN storage`: \n\n```javascript\n\u003cscript type=\"text/javascript\" src=\"//cdn.jsdelivr.net/gh/app-generator/sticky-media@latest/dist/index.min.js\"\u003e\u003c/script\u003e\n```\n\n\u003cbr /\u003e\n\n\u003e **Step 2**: `Init` the library \n\n```javascript\n// Default -\u003e \"sticky-popup\" CSS class is used\nvar stickyMediaInstance = new StickyMedia();\n\n// Custom -\u003e \"my-sticky-class\" is used to trigger the popup\nvar stickyMediaInstance = new StickyMedia( {'cssClass':'my-sticky-class'} );\n```\n\n\u003cbr /\u003e\n\n\u003e **Step 3**: `Use it` in the code\n\n- `Video ID`: **GET parameter**\n\n```javascript\n\u003ca class=\"sticky-popup\" href=\"https://www.youtube.com/watch?v=G1OM2L7XK5Y\"\u003eVideo_1\u003c/a\u003e\n```\n\n- `Video ID`: **URI segment**\n\n```javascript\n\u003ca class=\"sticky-popup\" href=\"https://www.youtube.com/embed/wWY_clozJlU\"\u003eVideo_2\u003c/a\u003e\n```\n\n\u003cbr /\u003e\n\n## License\n\n@MIT License\n\n\u003cbr /\u003e\n\n## Resources \n\n- More [Tools for developers](https://appseed.us/developer-tools/) - `all free`\n- Free [Support](https://appseed.us/support/) via `Email` \u0026 `Discord`\n\n\u003cbr /\u003e\n\n---\n[Sticky Media](https://github.com/app-generator/sticky-media) - Simple Vanilla JS library provided by [AppSeed](https://appseed.us)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fsticky-media","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapp-generator%2Fsticky-media","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fsticky-media/lists"}