{"id":16036491,"url":"https://github.com/dmitriyakkerman/iframe-video-overlay","last_synced_at":"2026-02-14T13:32:30.949Z","repository":{"id":42636650,"uuid":"261390783","full_name":"dmitriyakkerman/iframe-video-overlay","owner":"dmitriyakkerman","description":"Embedded responsive video overlay module (YouTube, Vimeo, Daily Motion, Coub).","archived":false,"fork":false,"pushed_at":"2023-01-07T08:07:34.000Z","size":5223,"stargazers_count":1,"open_issues_count":10,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T21:34:38.527Z","etag":null,"topics":["embed-videos","iframe","iframe-overlay","video-overlay","vimeo","youtube"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmitriyakkerman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-05T07:38:34.000Z","updated_at":"2022-03-19T19:46:41.000Z","dependencies_parsed_at":"2023-02-06T15:45:34.446Z","dependency_job_id":null,"html_url":"https://github.com/dmitriyakkerman/iframe-video-overlay","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/dmitriyakkerman/iframe-video-overlay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmitriyakkerman%2Fiframe-video-overlay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmitriyakkerman%2Fiframe-video-overlay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmitriyakkerman%2Fiframe-video-overlay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmitriyakkerman%2Fiframe-video-overlay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmitriyakkerman","download_url":"https://codeload.github.com/dmitriyakkerman/iframe-video-overlay/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmitriyakkerman%2Fiframe-video-overlay/sbom","scorecard":{"id":347913,"data":{"date":"2025-08-11","repo":{"name":"github.com/dmitriyakkerman/iframe-video-overlay","commit":"89c1505b098185aea4a76c42c715cece07d05526"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.2,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/dmitriyakkerman/iframe-video-overlay/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/dmitriyakkerman/iframe-video-overlay/test.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/test.yml:23","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"43 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-r8f7-9pfq-mjmv","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-566m-qj78-rww5","Warn: Project is vulnerable to: GHSA-hwj9-h5mp-3pm3","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-7mwh-4pqv-wmr8","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T07:34:58.393Z","repository_id":42636650,"created_at":"2025-08-18T07:34:58.393Z","updated_at":"2025-08-18T07:34:58.393Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29444750,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T12:43:28.304Z","status":"ssl_error","status_checked_at":"2026-02-14T12:43:14.160Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["embed-videos","iframe","iframe-overlay","video-overlay","vimeo","youtube"],"created_at":"2024-10-08T22:05:01.589Z","updated_at":"2026-02-14T13:32:30.931Z","avatar_url":"https://github.com/dmitriyakkerman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Testing](https://github.com/dmitriyakkerman/iframe-video-overlay/workflows/test/badge.svg)\n\nEmbedded responsive video overlay module (YouTube, Vimeo, Daily Motion, Coub).\n\n\u003cimg src=\"https://raw.githubusercontent.com/dmitriyakkerman/iframe-video-overlay/master/docs-images/presentation.gif\"\u003e\n\n**Example**\n\nhttps://codepen.io/mickyholbrook/pen/yLYvNEr\n\n------\n\n**Installation**\n\n**npm**\n\n    npm i iframe-video-overlay\n    \nLoad the required JS to your entry JS file:\n```js    \nlet IFrameVideoOverlay = require('iframe-video-overlay');   \nor    \nimport IFrameVideoOverlay from 'iframe-video-overlay';\n```    \nLoad the required stylesheet to your entry CSS file:\n```css\n@import \"node_modules/iframe-video-overlay/index\";\n```    \n**Cloning git repository**\n\n    1. Go to your project directory\n    2. git clone https://github.com/dmitriyakkerman/iframe-video-overlay.git .\n  \n  Put the required stylesheet link in HEAD tag:\n```html  \n\u003clink rel=\"stylesheet\" href=\"./dist/css/iframe-video-overlay.min.css\"\u003e\n ```    \n    \n  Put the script at the bottom of your markup: \n```html\n\u003cscript src=\"./dist/js/iframe-video-overlay.min.js\"\u003e\u003c/script\u003e    \n```   \n------    \n \n**Usage**\n     \nCreate root element, specify video ID inside \"data-id\" attribute. \n\n```html          \n\u003cdiv class=\"video\" data-id=\"lM02vNMRRB0\"\u003e\u003c/div\u003e\n``` \n\n_Youtube video ID_\n\n\u003cimg src=\"https://raw.githubusercontent.com/dmitriyakkerman/iframe-video-overlay/master/docs-images/image3.png\"\u003e\n\n\n_Vimeo video ID_\n\n\n\u003cimg src=\"https://raw.githubusercontent.com/dmitriyakkerman/iframe-video-overlay/master/docs-images/image4.png\"\u003e\n\n\n_Daily Motion video ID_\n\n\n\u003cimg src=\"https://raw.githubusercontent.com/dmitriyakkerman/iframe-video-overlay/master/docs-images/image5.png\"\u003e\n\n_Coub video ID_\n\n\n\u003cimg src=\"https://raw.githubusercontent.com/dmitriyakkerman/iframe-video-overlay/master/docs-images/image6.png\"\u003e\n\n------\n         \n**Initialization**\n\n1.Specify root element (string or DOM node) in \"el\" option. \n \n2.Specify video hosting name(\"youtube\" or \"vimeo\" or \"dailymotion\" or \"coub\") in \"type\" option.   \n*_You can pass this option in case using youtube video(option \"type\" has \"youtube\" value by default)._\n\n3.Specify \"imageSrc\" if you want to overlay iframe with image.\n\n4.Specify \"iconSrc\", \"width\", \"height\" and \"percentage\" options inside \"playButton\" option for play button customization.  \n*_You can pass \"width\" and \"height\" options in case using \"percentage\" option(or even pass \"percentage\" option, by default \"width\" and \"height\" equal \"10%\" of root element)_\n \n```js  \ndocument.addEventListener('DOMContentLoaded', function() {\n  new IFrameVideoOverlay({\n      el: '.video',\n      type: 'youtube', //or 'vimeo' or 'dailymotion' or 'coub'\n      imageSrc: 'video-image.jpg',\n      playButton: {\n          iconSrc: 'play-button.png',\n          width: '15%',\n          height: '15%',\n          //or\n          percentage: 20\n      }\n  })\n});\n```\n\n------\n\n**Options**\n\n##### `el`\nRoot element for module initialization.\n\n*Type:* String, Element  \n*Required:* true\n\n##### `type`\nPoints of what type of the video hosting you are going to use.\n\n*Type:* String  \n*Default:* `youtube`  \n*Required:* false\n\n##### `imageSrc`\nBackground image, which covers your iframe video.\n\n*Type:* String   \n*Required:* `false` \n\n##### `playButton`\nPlay button customization property, which includes `playButton.iconSrc`, `playButton.width`, `playButton.height` and `playButton.percentage` options.\n\n*Type:* Object   \n*Required:* true\n\n###### `playButton.iconSrc`\nPlay button icon.\n\n*Type:* String   \n*Required:* true\n\n###### `playButton.width`\nWidth of play button.\n\n*Type:* String(px, %, etc...)   \n*Default:* `playButton.percentage` or 10% of root element  \n*Required:* false\n\n###### `playButton.height`\nHeight of play button.\n\n*Type:* String(px, %, etc...)     \n*Default:* `playButton.percentage` or 10% of root element  \n*Required:* false\n\n###### `playButton.percentage`\nWidth and height of play button in percentage. \n\n*Type:* Number   \n*Default:* 10% of root element  \n*Required:* false\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmitriyakkerman%2Fiframe-video-overlay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmitriyakkerman%2Fiframe-video-overlay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmitriyakkerman%2Fiframe-video-overlay/lists"}