{"id":23050833,"url":"https://github.com/geta/oembed","last_synced_at":"2025-08-15T03:31:42.864Z","repository":{"id":4874689,"uuid":"6029789","full_name":"Geta/oEmbed","owner":"Geta","description":"oEmbed for EPiServer CMS","archived":false,"fork":false,"pushed_at":"2022-09-01T00:53:07.000Z","size":60881,"stargazers_count":3,"open_issues_count":11,"forks_count":6,"subscribers_count":29,"default_branch":"master","last_synced_at":"2023-04-10T16:50:52.031Z","etag":null,"topics":["cms"],"latest_commit_sha":null,"homepage":null,"language":"C#","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/Geta.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":"2012-10-01T12:50:54.000Z","updated_at":"2021-02-02T18:56:13.000Z","dependencies_parsed_at":"2023-01-11T16:37:02.148Z","dependency_job_id":null,"html_url":"https://github.com/Geta/oEmbed","commit_stats":null,"previous_names":[],"tags_count":3,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geta%2FoEmbed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geta%2FoEmbed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geta%2FoEmbed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geta%2FoEmbed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Geta","download_url":"https://codeload.github.com/Geta/oEmbed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229890100,"owners_count":18140042,"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":["cms"],"created_at":"2024-12-15T23:38:49.008Z","updated_at":"2024-12-15T23:38:49.612Z","avatar_url":"https://github.com/Geta.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oEmbed\n\n* Master\u003cbr\u003e\n![](http://tc.geta.no/app/rest/builds/buildType:(id:GetaPackages_GetaOEmbed_00ci),branch:master/statusIcon)\n[![Platform](https://img.shields.io/badge/Platform-.NET%204.6.1-blue.svg?style=flat)](https://msdn.microsoft.com/en-us/library/w0x726c2%28v=vs.110%29.aspx)\n[![Platform](https://img.shields.io/badge/Episerver-%2011-orange.svg?style=flat)](http://world.episerver.com/cms/) \n\n## Description\nEPiServer integration with bit.ly. This package contains an oEmbed block (properties: URL, max width, max height) plus view. An API key from bit.ly is mandatory to use this package.\n\n## Features\n* Configuration section in web.config\n* oEmbed block (URL, max width, max height) + view\n* oEmbedApi class to call APi\n\n```csharp\nInstall-Package Geta.oEmbed\n```\n\nAfter the package is installed you'll have to register a free account on embed.ly to get an API key. In your web.config you should at the bottom see \u0026lt;oEmbedSettings apikey=\"your-key-here\" /\u0026gt;. Replace your-key-here with the API key from embed.ly.\n\nAdd oEmbedBlock to one of your content types:\n\n```csharp\npublic virtual oEmbedBlock EmbedBlock { get; set; }\n```\n\nAnd in your view:\n\n```csharp\n@Html.PropertyFor(m =\u003e m.CurrentPage.EmbedBlock)\n```\n\nThere's also a HTML helper method you can use:\n\n```csharp\n@Html.oEmbed(Model.CurrentPage.EmbedBlock)\n```\n\nThat's it! Build and run your site. You'll now be able to embed any content from the supported 300 providers.\n\n\nHTTPS support:\nIn order to use secured protocol you need to enable it in oEmbed settings by adding secure=\"true\" key. Only payed embed.ly plans support SSL, otherwise you will have HTTP Status: 400 error.\n\nYou can install the latest using NuGet from [nuget.episerver.com](http://nuget.episerver.com).\n\nYou need an API key from [embed.ly](http://embed.ly) to use oEmbed. There's a free plan supported that supports upto 10 000 URLs each month (as well as paid plans with more options and support).\n\nin Web.config:\n```xml\n\u003cconfigSections\u003e\n    \u003csection name=\"oEmbedSettings\" type=\"Geta.oEmbed.Configuration.oEmbedSettings, Geta.oEmbed\"/\u003e\n\u003c/configSections\u003e\n\u003coEmbedSettings apikey=\"your-key-here\" /\u003e\n```\n\nFor an introduction see: [Introducing oEmbed for EPiServer](http://www.frederikvig.com/2010/09/introducing-oembed-for-episerver/) and [New version of Geta oEmbed](http://geta.no/blogg/new-version-of-geta-oembed/).\n\n### Cache\n\nBy default we cache the response the with a dependency on Episerver. You can disable it in web.config configuration using: DisableCache=true.\n\n## Package maintainer\nhttps://github.com/m-kovacina\n\n## Changelog\n\n3.0.1.\n  1. Added support for Episerver 11\n  2. Removed old dynamic content support\n  3. Removed legacy custom property\n\n3.0.2.\n  1. Added the latest Alloy sample site into solution\n  2. oEmbed example added into sample site\n  3. Added Docker support\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeta%2Foembed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeta%2Foembed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeta%2Foembed/lists"}