P
P
Pavel Gogolinsky2014-09-26 14:07:04
MySQL
Pavel Gogolinsky, 2014-09-26 14:07:04

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

3 answer(s)
A
Alex, 2014-09-26
@mr_ko

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.

R
Rad1calDreamer, 2014-09-26
@Rad1calDreamer

we usually store the "hash" and then just insert it when outputting

S
Sergey Romanov, 2014-09-26
@Serhioromano

Only hash.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question