OEmbed.Core
2.0.6
dotnet add package OEmbed.Core --version 2.0.6
NuGet\Install-Package OEmbed.Core -Version 2.0.6
<PackageReference Include="OEmbed.Core" Version="2.0.6" />
<PackageVersion Include="OEmbed.Core" Version="2.0.6" />
<PackageReference Include="OEmbed.Core" />
paket add OEmbed.Core --version 2.0.6
#r "nuget: OEmbed.Core, 2.0.6"
#:package OEmbed.Core@2.0.6
#addin nuget:?package=OEmbed.Core&version=2.0.6
#tool nuget:?package=OEmbed.Core&version=2.0.6
OEmbed.Core
C# oEmbed consumer library for .NET Framwork 4.8.1 and .NET (Core) 8/9
Supported Providers
- CloudFlareStreams.com
- CodePen.io
- DailyMotion.com
- Deezer.com
- Deviantart.com
- Facebook.com
- Flickr.com
- Giphy.com
- Gist.GitHub.com
- Instagram.com
- Pinterest.com
- Reddit.com
- Soundcloud.com
- Spotify.com
- Tiktok.com
- Twitch.tv
- Twitter.com
- Vimeo.com
- Youtube.com
Install
via NuGet:
PM> Install-Package OEmbed.Core
DI configuration
services.AddOEmbed();
Usage .NET Core
- Inject
IOEmbed
throught constructor injection. - Call EmbedAsync().
For example:
// Returns Provider Result of null if provider not found.
var result = await oEmbed.EmbedAsync("url");
Usage .NET Framework
// Returns Provider Result of null if provider not found.
var embed = new OEmbed();
var result = embed.Embed("url");
License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Framework | net481 is compatible. |
-
.NETFramework 4.8.1
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.7)
- Newtonsoft.Json (>= 13.0.3)
- System.Runtime.Caching (>= 9.0.7)
-
net8.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.7)
- Newtonsoft.Json (>= 13.0.3)
- System.Runtime.Caching (>= 9.0.7)
-
net9.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.7)
- Newtonsoft.Json (>= 13.0.3)
- System.Runtime.Caching (>= 9.0.7)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on OEmbed.Core:
Package | Downloads |
---|---|
YAFNET.Core
YAF.NET Core Library. |
|
YAFNET.Web
YAF.NET Web Tag- and Html Helpers and BBCode Extensions. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on OEmbed.Core:
Repository | Stars |
---|---|
YAFNET/YAFNET
🌐 YAF.NET - C# ASP.NET Forum
|
Changelog
====================
# OEmbed.Core v2.0.6
* Validate Url
# OEmbed.Core v2.0.5
* Added CloudflareStream Provider
# OEmbed.Core v2.0.4
* bug fixes
# OEmbed.Core v2.0.3
* Fixed Twitch Provider
# OEmbed.Core v2.0.2
* Added Twitch Provider
# OEmbed.Core v2.0.1
* Added Instagram Provider
* Added Facebook Provider
# OEmbed.Core v2.0.0
* First Release