DISPLAYING YOUTUBE VIDEOS ON YOUR WEB PAGE - Mar 7th, 2015


At least for now, you can take advantage of YouTube’s amazing, free cross browser, cross platform streaming
technology, and not have any suggestions offered to your visitors after they’ve viewed your video.

Here’s my simple approach:

1) Set up a free YouTube account. (Make it a private channel if you want to, that’s up to you)
2) Upload your video and copy the portion of the video link that appears after the YouTube TLD (.com, .be, etc)
3) Create a text field in your multi record section called ‘YouTube Shortcode’,
4) Paste the copied shortcode in the ‘YouTube Shortcode’ field for the appropriate record.
4) Set up a viewer with the following code:
NOTE: My viewer had a 500 x 300 space allocated for the video frame and I chose to have a double line border around it.

<iframe width="500" height="300" style="border:medium double #333333" src="https://www.youtube.com/embed/<?php echo
$your_multi_record_sectionRecord['youtube _shortcode '] ?>?rel=0&controls=1&showinfo=0" frameborder="0"
allowfullscreen></iframe>

That’s it, when your video has finished uploading and converting, it will play in the iframe when the play button is
clicked, or full frame when the visitor chooses that option, and there will be no suggestions after it has finished
playing.



The materials on this web site have been created for use with CMS Builder content management software. CMS Builder software is published and licensed for use by InteractiveTools.com. Please contact Interactive Tools for information on the downloading of the software or the purchasing of licenses.


Terms of Service