How can I in spatie/laravel-medialibrary to keep info about youtube key? #3322
Unanswered
sergeynilov
asked this question in
Q&A
Replies: 2 comments
-
You mean the YouTube ID? One can use custom properties: https://spatie.be/docs/laravel-medialibrary/v10/advanced-usage/using-custom-properties |
Beta Was this translation helpful? Give feedback.
0 replies
-
I know howto use setCustomProperty, but I need to create a media file row, not just additive property to existing media. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In laravel 8 app using spatie/laravel-medialibrary 9 for storing of images and videos in adminarea I also use youtube keys
(only key, not url) which can be attached for some item. If there is a way to store youtube key im media table of laravel-medialibrary
and have one common model both for media files uploaded by user and by youtube key ?
Beta Was this translation helpful? Give feedback.
All reactions