OEmbed.Core
2.0.2
.NET 7.0
This package targets .NET 7.0. The package is compatible with this framework or higher.
.NET Framework 4.8.1
This package targets .NET Framework 4.8.1. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package OEmbed.Core --version 2.0.2
NuGet\Install-Package OEmbed.Core -Version 2.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OEmbed.Core" Version="2.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OEmbed.Core --version 2.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: OEmbed.Core, 2.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install OEmbed.Core as a Cake Addin #addin nuget:?package=OEmbed.Core&version=2.0.2 // Install OEmbed.Core as a Cake Tool #tool nuget:?package=OEmbed.Core&version=2.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
OEmbed.Core
C# oEmbed consumer library for .NET Framwork 4.8.1 and .NET (Core) 7/8
Supported Providers
- 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
- 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 | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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. |
.NET Framework | net481 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8.1
- Newtonsoft.Json (>= 13.0.3)
- System.Runtime.Caching (>= 8.0.0)
-
net7.0
- Newtonsoft.Json (>= 13.0.3)
- System.Runtime.Caching (>= 8.0.0)
-
net8.0
- Newtonsoft.Json (>= 13.0.3)
- System.Runtime.Caching (>= 8.0.0)
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
|