Answer the question
In order to leave comments, you need to log in
How to save youtube video in admin panel?
How do you save youtube videos in your admins? Store the url in its entirety ( https://www.youtube.com/watch?v=nPGQ5Le851o), or just the hash (nPGQ5Le851o). Or how? How do you display it on the site?
Answer the question
In order to leave comments, you need to log in
If the user who fills in the fields is able to select a hash, then this is possible.
But for dummies, it’s easier to copy the entire url, and I select the hash through a regular expression.
we usually store the "hash" and then just insert it when outputting
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question