{"id":19780864,"url":"https://github.com/guyisra/fitvids.js-rails","last_synced_at":"2025-02-28T06:28:01.726Z","repository":{"id":10612636,"uuid":"12831097","full_name":"guyisra/FitVids.js-rails","owner":"guyisra","description":"Responsive Videos Embedding for Rails 3.1+","archived":false,"fork":false,"pushed_at":"2014-06-03T06:46:43.000Z","size":269,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T02:24:26.503Z","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/guyisra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-14T15:12:08.000Z","updated_at":"2014-06-03T06:46:43.000Z","dependencies_parsed_at":"2022-09-15T13:51:21.897Z","dependency_job_id":null,"html_url":"https://github.com/guyisra/FitVids.js-rails","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyisra%2FFitVids.js-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyisra%2FFitVids.js-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyisra%2FFitVids.js-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guyisra%2FFitVids.js-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guyisra","download_url":"https://codeload.github.com/guyisra/FitVids.js-rails/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241111790,"owners_count":19911562,"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":[],"created_at":"2024-11-12T05:41:29.547Z","updated_at":"2025-02-28T06:28:01.703Z","avatar_url":"https://github.com/guyisra.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FitvidsjsRails\n\nwrapper for fitvids.js - fitting a video responsively\n\nsee source @ https://github.com/davatron5000/FitVids.js\n\nsee background - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/\n\nRequires jQuery 1.7+\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'fitvidsjs_rails'\n\nadd to manifest application.js\n\n    //= require fitvids.js\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install fitvidsjs_rails\n\n## Usage\n\n    \u003cscript src=\"path/to/jquery.min.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"path/to/jquery.fitvids.js\"\u003e\u003c/script\u003e\n    \u003cscript\u003e\n      $(document).ready(function(){\n        // Target your .container, .wrapper, .post, etc.\n        $(\"#thing-with-videos\").fitVids();\n      });\n    \u003c/script\u003e\n\nsee https://github.com/davatron5000/FitVids.js for more info\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguyisra%2Ffitvids.js-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguyisra%2Ffitvids.js-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguyisra%2Ffitvids.js-rails/lists"}