neatComponents is the hybrid-cloud database engine that powers clearString. | ||
Previous page | Techniques & KB Articles | Next page |
Embedding a YouTube video |
Embedding a YouTube videoEmbedding 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.
|
|