spicywebau / craft-embedded-assets

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

YouTube embeds are now being added as Link type instead of Video #243

Closed jrrdnx closed 9 months ago

jrrdnx commented 9 months ago

Bug Description

Was notified by a client that recent asset embeds from YouTube are now showing as "Link" instead of "Video". These worked correctly as recently as August 28th, and no changes were made to Craft or any plugins (Craft v3.7.18.2 and Embedded Assets v2.8.1).

I updated to the latest version of Embedded Assets (2.11.4) and Craft v3 (3.9.3), and these continue to show File Kind as "Link" instead of "Video" so I don't think there's an issue with the plugin itself, but maybe a change elsewhere that needs to be accounted for.

Steps to reproduce

  1. Add YouTube URL to embed window
  2. File Kind shows as "Link" instead of "Video"

Expected behaviour

No response

Embedded Assets version

2.11.4

Craft CMS version

3.9.3

ttempleton commented 9 months ago

I'm unable to reproduce this. If it's still happening for you, could you please provide an example of a video URL that is showing the link type.

jrrdnx commented 9 months ago

https://www.youtube.com/watch?v=6BqbLLrvZkw is one of them

I just confirmed with an older video and it's still correctly resulting in a File Kind of "Video", so it definitely looks like it's something with these last two particular videos.

ttempleton commented 9 months ago

I manually added an iframe for that video to a page, and was met with a message that playback on other websites has been disabled by the video owner, so that explains why it's being added with the link type instead. The video owner would need to enable embedding of the video before it can be added with the video type.

jrrdnx commented 9 months ago

Thanks for your help!