Fix ContentTypes docs

This commit is contained in:
Kelvin 2023-10-29 18:28:52 +00:00
parent 7114201c08
commit 4c0be35020
2 changed files with 4 additions and 4 deletions

View file

@ -19,7 +19,7 @@ Thank you for your interest in contributing! This document outlines how you can
### License
The official plugins for this project are licensed under GPLv3. Any contributions you make will also fall under the GPLv3 license.
The official plugins for this project are licensed under AGPL. Any contributions you make will also fall under the AGPL license.
### How to Contribute

View file

@ -52,7 +52,7 @@ new PlatformVideo({
new Thumbnail("https://.../...", 720),
new Thumbnail("https://.../...", 1080),
]),
author: new AuthorLink(
author: new PlatformAuthorLink(
new PlatformID("SomePlatformName", "SomeAuthorID", config.id),
"SomeAuthorName",
"https://platform.com/your/channel/url",
@ -97,7 +97,7 @@ A nested item consists of an detail url and optional metadata such as name, desc
new PlatformNestedMediaContent({
id: new PlatformID("SomePlatformName", "SomeId", config.id),
name: "Name of content link",
author: new AuthorLink(
author: new PlatformAuthorLink(
new PlatformID("SomePlatformName", "SomeAuthorID", config.id),
"SomeAuthorName",
"https://platform.com/your/channel/url",
@ -134,7 +134,7 @@ new PlatformVideoDetails({
new Thumbnail("https://.../...", 720),
new Thumbnail("https://.../...", 1080),
]),
author: new AuthorLink(
author: new PlatformAuthorLink(
new PlatformID("SomePlatformName", "SomeAuthorID", config.id),
"SomeAuthorName",
"https://platform.com/your/channel/url",