spicywebau / craft-embedded-assets

Manage YouTube videos, Instagram photos and more as first class assets in Craft CMS
MIT License
171 stars 35 forks source link

Where do I set the embedded data? #220

Closed wallythewebdev closed 2 years ago

wallythewebdev commented 2 years ago

Description

Hi -

I might have misunderstood the docs on where to input embedded data. The use case I working towards is just to embedded Youtube and Vimeo videos .

I have installed the plugin and expected to find a field to input the embedded data in the fields section of Craft, but cannot see one for this plugin.

Is the work flow for using this plugin:

create a field - assign that field to embedded data - assign the field to a section - add embedded data to the page ?

If so, I am missing the field option to assign embedded data:

image

Steps to reproduce

  1. Downloaded plugin
  2. created a field
  3. in field type assign plugin (which is not there)

Other information

ttempleton commented 2 years ago

This plugin doesn't add a new field type - embedded assets are regular assets that are saved in JSON format, so you'd just need to have an asset field that (if allowed file types for the field are being restricted) is set to allow JSON assets to be used.

You'd then add embedded assets using the Embed button, next to the Upload Files button on the Assets page, which should look something like this after it's clicked:

Embedded Assets input screenshot