{"id":19018708,"url":"https://github.com/statikbe/craft-video-parser","last_synced_at":"2025-04-23T04:39:39.115Z","repository":{"id":50025710,"uuid":"355851949","full_name":"statikbe/craft-video-parser","owner":"statikbe","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-01T09:16:16.000Z","size":169,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-11T17:14:15.512Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/statikbe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.MD","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}},"created_at":"2021-04-08T09:57:17.000Z","updated_at":"2025-02-06T09:40:53.000Z","dependencies_parsed_at":"2023-12-08T15:00:19.950Z","dependency_job_id":"0e2dd444-74ca-4e41-bd2d-c23cc33bd6a7","html_url":"https://github.com/statikbe/craft-video-parser","commit_stats":{"total_commits":21,"total_committers":3,"mean_commits":7.0,"dds":"0.19047619047619047","last_synced_commit":"70d7599dd29cc35c8fa38123eb54535a1f4f7f78"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statikbe%2Fcraft-video-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statikbe%2Fcraft-video-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statikbe%2Fcraft-video-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statikbe%2Fcraft-video-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/statikbe","download_url":"https://codeload.github.com/statikbe/craft-video-parser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250372692,"owners_count":21419720,"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-08T20:09:59.570Z","updated_at":"2025-04-23T04:39:39.072Z","avatar_url":"https://github.com/statikbe.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Video parser\n\nThis is a little plugin to get the ID from a youtube of vimeo URL, so that it can be used to create a video embed.\n\n## Usage\n\nThe plugin comes with a twig function that you use like this:\n````\n{% set video = craft.videoparser.parse(entry.video) %}\n````\nIt returns an object with the following properties:\n- Type (youtube or vimeo)\n- ID\n- embedSrc (specific to the type)\n- extraParts (url parameters separated by an \u0026)\n\nThen you can create your own embed as you see fit.\n\n````\n\u003ciframe src=\"{{ video.embedSrc }}{{ video.extraParts ? '?'~video.extraParts }}\" frameborder=\"0\" width=\"500\" height=\"300\"\u003e\u003c/iframe\u003e\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatikbe%2Fcraft-video-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstatikbe%2Fcraft-video-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatikbe%2Fcraft-video-parser/lists"}