All Projects → hennessyevan → netlify-cms-widget-youtube

hennessyevan / netlify-cms-widget-youtube

Licence: MIT license
Youtube Widget for Netlify CMS

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to netlify-cms-widget-youtube

nuxt-starter-netlify-cms
Example nuxt + netlify cms project. Nuxt port of Gatsby starter app.
Stars: ✭ 13 (-45.83%)
Mutual labels:  netlify, netlify-cms
hugo-shortcodes-netlify-cms
Shortcodes of Hugo for Netlify CMS Text Editor
Stars: ✭ 50 (+108.33%)
Mutual labels:  netlify, netlify-cms
gatsby-netlifycms-starter-template
All the technologies used are free and open-source. You are free to use this template for a personal hobby blog, a commercial news agency or professional journalist website etc. Don't forget to star the repo if you like this template.
Stars: ✭ 33 (+37.5%)
Mutual labels:  netlify, netlify-cms
Gatsby Starter Netlify Cms
Example gatsby + netlify cms project
Stars: ✭ 1,932 (+7950%)
Mutual labels:  netlify, netlify-cms
nuxt-netlify-cms-starter
NuxtJS + Netlify CMS blog starter project
Stars: ✭ 35 (+45.83%)
Mutual labels:  netlify, netlify-cms
nuxt-netlify-cms-starter
🏞 A very spartan starter for using Nuxt.js with Netlify CMS.
Stars: ✭ 67 (+179.17%)
Mutual labels:  netlify, netlify-cms
artisan-static
A feature-rich starter template for building a static Jigsaw blog hosted on Netlify.
Stars: ✭ 40 (+66.67%)
Mutual labels:  netlify, netlify-cms
site
RailroadPM.org 2.x Site
Stars: ✭ 18 (-25%)
Mutual labels:  netlify, netlify-cms
netlify-cms-widget-starter
A boilerplate for creating Netlify CMS widgets.
Stars: ✭ 74 (+208.33%)
Mutual labels:  widget, netlify-cms
portfolio
🌔 My Portfolio site
Stars: ✭ 22 (-8.33%)
Mutual labels:  netlify, netlify-cms
bluise
🍄 Bluise - A Nuxt.js & Netlify CMS boilerplate.
Stars: ✭ 132 (+450%)
Mutual labels:  netlify, netlify-cms
DailyImageWidget
Android 桌面小部件(widget)日签 Or 日历,可作为桌面日历。Just For Fun! 🎮
Stars: ✭ 30 (+25%)
Mutual labels:  widget
react-firechat
Realtime Chat App built with React, Firebase, and Tailwind CSS. Deployed on Netlify 🚀 🔥
Stars: ✭ 65 (+170.83%)
Mutual labels:  netlify
VBBNow
A VBB NotificationCenter Widget. It shows the nearby transit information
Stars: ✭ 23 (-4.17%)
Mutual labels:  widget
GridFragment
Android parent Fragment for working with GridViews.
Stars: ✭ 17 (-29.17%)
Mutual labels:  widget
ZVRefreshing
A pure-swift and wieldy refresh component.
Stars: ✭ 29 (+20.83%)
Mutual labels:  widget
wp-team-list
👨‍👩‍👧‍👧 A WordPress plugin to display your teammates (users) anywhere on your WordPress site.
Stars: ✭ 15 (-37.5%)
Mutual labels:  widget
posts-in-sidebar
Publish a list of posts in your sidebar
Stars: ✭ 19 (-20.83%)
Mutual labels:  widget
sveltekit-seo
Demo site for SvelteKit SEO showing how to set up meta tags in a SvelteKit blog site.
Stars: ✭ 28 (+16.67%)
Mutual labels:  netlify
docs.wpgraphql.com
DEPRECATED. The docs now exist within the WPGraphQL repo:
Stars: ✭ 23 (-4.17%)
Mutual labels:  netlify

NPM npm bundle size (minified) npm

netlify-cms-widget-youtube

Check out a demo!

Provides a simple text input for youtube videos. Validates strings with a green text color and provides a preview image in the preview pane.

Looking for suggestions for additional functionality. PRs are Welcome!

screenshot of youtube widget

Install

As an npm package:

npm install --save netlify-cms-widget-youtube
import youtube from "netlify-cms-widget-youtube";

CMS.registerWidget("youtube", youtubeControl, youtubePreview);

Via script tag:

<script src="https://unpkg.com/netlify-cms-widget-youtube@^0.3.0"></script>

<script>
  CMS.registerWidget('youtube', youtubeControl, youtubePreview)
</script>

How to use

Add to your Netlify CMS configuration:

    fields:
      - { name: <fieldname>, label: <fieldlabel>, widget: youtube, extraInfo: false, APIkey: "<KEY>" }

Enabling extraInfo will return an object in frontmatter

<fieldname>:
	url: String
	id: String
	mediaType: String
	imageURL: String
	embedURL: String

If you provide an API KEY in the configuration you will get additional information in the Control (as seen in the screenshot above). You can use this API key here to test but it's better you get your own to make sure it always works!

FAQ

Q: My control doesn't show the title or description

You need to add an API Key to the widget settings. Learn about getting an API Key here

Q: How can I get and image url in my output

You need to add extraInfo: true to your Netlify CMS configuration (usually config.yml)

Roadmap

  • Youtube Image in Preview
  • Extended Details in Control from Youtube Data API
  • Optional YAML object output
  • Youtube Search function
  • Couple with a Youtube "Editor Widget"

Support

For help with this widget, open an issue or ask the Netlify CMS community in Gitter.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].