{"id":19623828,"url":"https://github.com/appleple/scrollscale","last_synced_at":"2026-05-14T17:35:22.092Z","repository":{"id":66341139,"uuid":"274607117","full_name":"appleple/ScrollScale","owner":"appleple","description":null,"archived":false,"fork":false,"pushed_at":"2020-07-01T06:59:13.000Z","size":41430,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-26T19:39:17.674Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/appleple.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-06-24T07:43:46.000Z","updated_at":"2020-08-19T06:47:01.000Z","dependencies_parsed_at":"2023-03-10T23:51:33.608Z","dependency_job_id":null,"html_url":"https://github.com/appleple/ScrollScale","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/appleple/ScrollScale","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2FScrollScale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2FScrollScale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2FScrollScale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2FScrollScale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appleple","download_url":"https://codeload.github.com/appleple/ScrollScale/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2FScrollScale/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33035868,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-11T11:35:37.883Z","updated_at":"2026-05-14T17:35:22.075Z","avatar_url":"https://github.com/appleple.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ScrollScale\n[![GitHub license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://raw.githubusercontent.com/appleple/SmartPhoto/master/LICENSE)\n\nJavaScript program makes video enlarge and show the catchphrases when it's in the center of the window.\n\n## Requirements\n+ ES6\n+ CSS3\n\n## Usage\nJavaScript program makes video enlarge when it's in the center of the window.\n```html\n\u003cscript src=\"js/ScrollScale.js\"\u003e\u003c/script\u003e\n\u003clink rel=\"stylesheet\" href=\"css/ScrollScale.css\"\u003e\n```\n\nWrap video and messages you want to enlarge with ScrollScale class.\n```html\n\u003cdiv class=\"ScrollScale\"\u003e\n  \u003cvideo src=\"\"/\u003e\n\u003c/div\u003e\n```\n\njs\n```js\ndocument.addEventListener('DOMContentLoaded',function(){\n    new ScrollScale(\"id name\");\n});\n```\n\nYou can create some contants layer on the video.\n```html\n\u003cdiv class=\"ScrollScale\"\u003e\n  \u003cvideo src=\"\"/\u003e\n  \u003cdiv class=\"contants\"\u003e\n    \u003cp\u003eThis text appear when video is enlarge. \u003c/p\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n```\n\n### Basic Standalone Usage\n```html\n\u003cdiv class=\"ScrollScale\" id=\"ScrollScale1\"\u003e\n  \u003cvideo src=\"video/sample.mp4\" muted=\"muted\" loop\u003e\u003c/video\u003e\n  \u003cdiv class=\"contants\"\u003e\n\t\u003cdiv\u003e\n\t  \u003ch3\u003eYou can create some contants layer on the video.\u003c/h3\u003e\n\t\u003c/div\u003e\n\t\u003cdiv\u003e\n\t  \u003ch3\u003econtants class\u003c/h3\u003e\n\t  \u003cspan\u003eThis is sample. This is sample. This is sample. This is sample.\u003c/span\u003e\n\t  \u003ca href=\"#\"\u003eButton\u003c/a\u003e\n\t\u003c/div\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n\n\u003cscript\u003e\nwindow.addEventListener('DOMContentLoaded', function(){\n\tnew ScrollScale(\"ScrollScale1\");\n});\n\u003c/script\u003e\n```\n\n### Option\n\u003ctable\u003e\n\t\u003ctr\u003e\n\t\t\u003cth\u003evariable\u003c/th\u003e\n\t\t\u003cth\u003edescription\u003c/th\u003e\n\t\t\u003cth\u003edefault\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003esize\u003c/td\u003e\n\t\t\u003ctd\u003esmall/middle/large size video\u003c/td\u003e\n\t\t\u003ctd\u003emiddle\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003eanimation\u003c/td\u003e\n\t\t\u003ctd\u003eanimation of contants\u003c/td\u003e\n\t\t\u003ctd\u003etrue\u003c/td\u003e\n\t\u003c/tr\u003e\n\u003c/table\u003e\n\nSet Options\n```js\nwindow.addEventListener('DOMContentLoaded', function(){\n  new ScrollScale(\"ScrollScale1\", {\n    size: \"large\",\n    animation: false,\n  });\n});\n```\n\n## Caution\nIf you want to publish the site equiped this program for smartphone, you shoud write \"poster\" in video tag. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleple%2Fscrollscale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappleple%2Fscrollscale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleple%2Fscrollscale/lists"}