![]() | clearString neatComponents
|
|
![]() | clearString neatComponents
|
| |
Embedding a YouTube video |
![]() | ||
![]() | Techniques & KB Articles | ![]() |
Embedding a YouTube video |
![]() | ![]() |
Embedding YouTube videos on sites is a common requirement, yet the code to do so is typically quite complex, involving IFrames and HTML.
Here we outline a technique that hides all this complexity, and lets a user simply enter the YouTube link, with the system taking care of the rest.
For this example we assume there will be a number of YouTube videos to be embedded.
Now you can embed the IFrame view on a page to see the embedded video, which can be played in-place.
This is a minimalist example, but you would normally expect to have further fields. That way you could have a Table acting as a central Video library, and then use multiple embeds on different pages, each with different criteria, to show videos around the site.
|