Skip to content

Commit

Permalink
Expose player embed url
Browse files Browse the repository at this point in the history
To encourage use of unlisted link embed security, starting January 21, 2025 vimeo will automatically disable old embed codes. (videos without a h parameter). see https://help.vimeo.com/hc/en-us/articles/13741122177169-FAQ-Enhancing-the-security-of-Vimeo-embeds-
  • Loading branch information
cboyce428 authored and mfilippov committed Apr 15, 2023
1 parent ecdef7e commit dc5ab71
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/VimeoDotNet/Models/Video.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ namespace VimeoDotNet.Models
/// <summary>
/// Video
/// </summary>
// https://developer.vimeo.com/api/reference/response/video
public class Video
{
private static readonly IDictionary<string, string> StatusMappings = new Dictionary<string, string>
Expand Down Expand Up @@ -58,6 +59,13 @@ public class Video
[JsonProperty(PropertyName = "link")]
public string Link { get; set; }

/// <summary>
/// player_embed_url
/// </summary>
[PublicAPI]
[JsonProperty(PropertyName = "player_embed_url")]
public string Player_Embed_Url { get; set; }

/// <summary>
/// Review link
/// </summary>
Expand Down

0 comments on commit dc5ab71

Please sign in to comment.