sanity-plugin-wistia
v1.0.2
Published
Wistia input for Sanity.io
Downloads
5
Readme
sanity-plugin-wistia
Position input for Sanity that stores selected position.
Installation
In your studio folder, run:
sanity install wistia
Then create a config file in ./config/wistia.json.
The config file has two props:
{
"wistiaUrl": "wistia-subdomain",
"apiPassword": "xxxxxxxxxx"
}
Usage
Use it in your schema types:
// [...]
{
fields: [
// [...]
{
name: 'wistia',
title: 'Wistia',
type: 'wistia',
}
]
}
Note that the above only works if you import and use the all:part:@sanity/base/schema-type
part in your schema.
License
MIT-licensed. See LICENSE.