{"id":21625069,"url":"https://github.com/johncms/ckeditor-media-embed","last_synced_at":"2025-04-11T12:34:18.989Z","repository":{"id":57000886,"uuid":"352312172","full_name":"johncms/ckeditor-media-embed","owner":"johncms","description":"The library replaces the semantic output of the CKEditor 5 with the html code of the content preview.","archived":false,"fork":false,"pushed_at":"2023-12-17T10:55:40.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T08:51:19.631Z","etag":null,"topics":["ckeditor5","embed","media","php","php-library","youtube"],"latest_commit_sha":null,"homepage":"","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/johncms.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}},"created_at":"2021-03-28T11:33:31.000Z","updated_at":"2023-12-17T10:43:37.000Z","dependencies_parsed_at":"2022-08-21T13:20:50.927Z","dependency_job_id":null,"html_url":"https://github.com/johncms/ckeditor-media-embed","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johncms%2Fckeditor-media-embed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johncms%2Fckeditor-media-embed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johncms%2Fckeditor-media-embed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johncms%2Fckeditor-media-embed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johncms","download_url":"https://codeload.github.com/johncms/ckeditor-media-embed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248173807,"owners_count":21059594,"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":["ckeditor5","embed","media","php","php-library","youtube"],"created_at":"2024-11-25T01:07:43.107Z","updated_at":"2025-04-11T12:34:18.968Z","avatar_url":"https://github.com/johncms.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `johncms/ckeditor-media-embed`\n\n[![PHP-CI](https://github.com/johncms/ckeditor-media-embed/workflows/PHP-CI/badge.svg?branch=master)](https://github.com/johncms/ckeditor-media-embed/actions)\n[![Packagist](https://img.shields.io/packagist/l/johncms/ckeditor-media-embed.svg)](https://packagist.org/packages/johncms/ckeditor-media-embed)\n[![Source Code](https://img.shields.io/badge/source-johncms%2Fckeditor--media--embed-blue)](https://github.com/johncms/ckeditor-media-embed)\n[![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/johncms/ckeditor-media-embed.svg?label=stable)](https://github.com/johncms/ckeditor-media-embed/releases)\n[![Packagist](https://img.shields.io/packagist/dt/johncms/ckeditor-media-embed)](https://packagist.org/packages/johncms/ckeditor-media-embed)\n\nThe library replaces the semantic output of the CKEditor 5 with the html code of the content preview.\n\n## Installation\n\nThe preferred method of installation is via [Composer](http://getcomposer.org). Run the following command to install the package and add it as a requirement to your project's\n`composer.json`:\n\n```bash\ncomposer require johncms/ckeditor-media-embed\n```\n\n## Example\n\n```PHP\n$providers = [\n    new \\Simba77\\EmbedMedia\\Providers\\Youtube(\n        [\n            'classes' =\u003e 'embed-responsive embed-responsive-16by9',\n            'styles'  =\u003e [\n                'max-width' =\u003e '100%',\n                'width'     =\u003e '100%',\n            ],\n        ]\n    ),\n];\n\n$embed = new \\Simba77\\EmbedMedia\\Embed($providers);\n\n$html = '\u003cfigure class=\"media\"\u003e\u003coembed url=\"https://youtu.be/8ZLSKEmbt0Y?t=75\"\u003e\u003c/oembed\u003e\u003c/figure\u003e';\n\necho $embed-\u003eembedMedia($html);\n```\n\n## License\n\nThe `simba77/ckeditor-media-embed` library is licensed for use under the MIT License (MIT).  \nPlease see [LICENSE](https://github.com/johncms/ckeditor-media-embed/blob/master/LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohncms%2Fckeditor-media-embed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohncms%2Fckeditor-media-embed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohncms%2Fckeditor-media-embed/lists"}