{"id":15516786,"url":"https://github.com/samrap/gsvideoframe","last_synced_at":"2025-09-06T19:33:11.092Z","repository":{"id":81609763,"uuid":"63268382","full_name":"samrap/gsVideoFrame","owner":"samrap","description":"Iframe embedded popups for common Video providers","archived":false,"fork":false,"pushed_at":"2016-07-13T18:07:00.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-11T20:13:28.726Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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/samrap.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-13T18:03:37.000Z","updated_at":"2021-02-25T21:20:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"32ccef3a-a2ba-4134-92a6-f86ca2ff8a43","html_url":"https://github.com/samrap/gsVideoFrame","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samrap/gsVideoFrame","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrap%2FgsVideoFrame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrap%2FgsVideoFrame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrap%2FgsVideoFrame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrap%2FgsVideoFrame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samrap","download_url":"https://codeload.github.com/samrap/gsVideoFrame/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrap%2FgsVideoFrame/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273953516,"owners_count":25197316,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"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-10-02T10:09:53.529Z","updated_at":"2025-09-06T19:33:11.075Z","avatar_url":"https://github.com/samrap.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gigasavvy VideoFrame jQuery Plugin\nIframe embedded popups for common Video providers\n\n## Install with Bower\n\n```bower install --save gsVideoFrame```\n\n\n\n## Usage\n\nInclude jQuery\n\n```\u003cscript type=\"text/javascript\" src=\"//code.jquery.com/jquery-3.0.0.min.js\"\u003e\u003c/script\u003e```\n\nInclude gsVideoFrame\n\n```\u003cscript type=\"text/javascript\" src=\"./dist/gsVideoFrame.min.js\"\u003e\u003c/script\u003e```\n\n\n\n## Options\n\n  - **src** ([string](http://api.jquery.com/Types/#String))\n    - The `src` attribute is the URL to view the video.\n      - The script will parse YouTube and Vimeo URL's and will create an iFrame embed from them.\n      - _**Note:**_ YouTube URL's with `.com` and `.be` are currently supported.\n  - **type** ([string](http://api.jquery.com/Types/#String))\n    - The video type. Accepted values are: `youtube` and `vimeo`\n  - **target** ([string](http://api.jquery.com/Types/#String) | jQuery [object](http://api.jquery.com/Types/#Object)) [Default `false`]\n    - The target where the video should be embedded.\n      - This can be a selector string (ex: `\"#gsVideoFrame\"`)\n      - Or this can be a jQuery object (ex: `$('#gsVideoFrame')`).\n      - In the default case `false` or if the target cannot be found, the video will be appended to the `body` element.\n  - **container** ([string](http://api.jquery.com/Types/#String)) [Default `div`]\n    - The type of element the iFrame should be wrapped in.\n  - **containerClass** ([string](http://api.jquery.com/Types/#String))\n    - Class to be assigned to the container element.\n  - **closeButton** ([string](http://api.jquery.com/Types/#String) | jQuery [object](http://api.jquery.com/Types/#Object))\n    - A jQuery object to be appended to the iFrames container.\n      - Example: `$('a.gsVideoFrame').gsVideoFrame({'closeButton': $('\u003cdiv /\u003e').addClass('close')});`\n  - **closeButtonClass** ([string](http://api.jquery.com/Types/#String))\n    - Class to be added to closeButton element.\n  - **autoplay** ([boolean](http://api.jquery.com/Types/#Boolean))\n    - This parameter determines whether or not the video automatically plays once it is opened\n\n\n\n## Events\n\n  - **onBeforeOpen()** ([function](http://api.jquery.com/Types/#Function))\n    - Called before the frame is embedded.\n  - **onOpen()** ([function](http://api.jquery.com/Types/#Function))\n    - Called when the frame is embedded.\n  - **onPlay()** ([function](http://api.jquery.com/Types/#Function))\n    - Called when the video is played\n  - **onPause()** ([function](http://api.jquery.com/Types/#Function))\n    - Called when the video is paused\n  - **onBeforeClose()** ([function](http://api.jquery.com/Types/#Function))\n    - Called before the video is closed\n  - **onClose()** ([function](http://api.jquery.com/Types/#Function))\n    - Called when the video is closed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamrap%2Fgsvideoframe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamrap%2Fgsvideoframe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamrap%2Fgsvideoframe/lists"}