Get all craft.embeddedAssets I'm new to using craft cms and have been using this site to answer several questions. I decided I should give back. I have been using the Embedded Assets plugin but could not figure out the "for loop" code in a Matrix field to display links to all selected YouTube videos.
This is one part of a bigger switch case statement for a Craft Matrix field.


My block is called newFeatureVideo.
my field is called video.


{% case "newFeatureVideo" %}
  {% for items in block.video.all() %}
    {% set item = craft.embeddedAssets.get(items) %}
    &lt;li&gt;&lt;a href="{{ item.url }}"&gt;{{ item.title }}&lt;/a&gt;&lt;/li&gt;
  {% endfor %}