How to add an embedded YouTube video #2635
Replies: 2 comments
-
You can simply paste the HTML snippet from youtube.com into the FAQ entry, when you switch in the editor to the source code view. |
Beta Was this translation helpful? Give feedback.
-
And if you always wanted to display the most recent video from a specific YouTube-Channel, then use my following solution: First get the Channel-ID, either from the YT source code or, for example, with this: https://seostudio.tools/youtube-channel-id The Channel-ID always starts with UC. We change that and make UU from it. The link then should look like this: In phpMyFAQ, click on <> for the code view, then enter the following:
This will display the most recent video from the YT-Channel of your choice. They post a new one? ...already on your site! (Cool thing?) Let's assume you also want to display the 3 previous videos (perhaps a little smaller below?) that's also very easy. To the ID from the first example, simply add A link for older Videos could look like this: With a bit of CSS you can display the whole thing in full width:
And that's it already. Amazing or? Hope it helps! :) Greetz Chris |
Beta Was this translation helpful? Give feedback.
-
How to add an embedded YouTube video phpMyFAQ 3.1.13
Beta Was this translation helpful? Give feedback.
All reactions