DU Community Help
In reply to the discussion: Unofficial DU3 Basic HTML Reference Lookup Table [View all]Make7
(8,546 posts)Last edited Thu Sep 5, 2013, 05:24 PM - Edit history (3)
Which is unfortunate since there are quite a few useful parameters one can add to embedded YouTube videos. Here is a page on google that outlines them:
[div style="margin-left:1.5em;"]https://developers.google.com/youtube/player_parameters#gc-content
I could not seem to find any information on the parameters available in normal YouTube links. However, since we can't embed a video with extra parameters anyway, by using a different link format that goes to [font color="#000099"]https://www.youtube.com[/font] we can use the embedded player parameters. As an example I am going to use the [font color="#000099"]related[/font], [font color="#000099"]start[/font], [font color="#000099"]end[/font], [font color="#000099"]autoplay[/font], [font color="#000099"]autohide controls[/font], and [font color="#000099"]display fullscreen button[/font] parameters in a link:
[div style="margin-left:1.5em;"]https://www.youtube.com/v/H66LG8k5hS8?rel=0&start=41&end=64&autoplay=1&autohide=1&fs=0
It will only work with [font color="#000099"]https[/font] links in that format, it won't work as intended if the link is a regular [font color="#000099"]http[/font] address. As luck would have it, DU3 seems to not like [font color="#000099"]https[/font] links unless they are in a [font color="#000099"][link][/font] tag. So this whole thing is perhaps more effort than it is worth - but it may come in handy for a long video where only the relevant portion could be shown by specifying start and end points.
[div style="width:100%; height:1.2em; border-bottom: 1px solid #bfbfbf;"]
Adding a different link format that works better with the HTML5 player. Same parameters as above just using the embed format to unsecure YouTube site:
http://www.youtube.com/embed/H66LG8k5hS8?rel=0&start=41&end=64&autoplay=1&autohide=1&fs=1
Unfortunately the DU3 software will try to embed that, I used an html entity for the last forward slash in the URL:
[font style="color:#000099;"]http://www.youtube.com/embed[font style="color:#ffffff; background-color:#3366cc;"]/[/font]H66LG8k5hS8?rel=0&start=41&end=64&autoplay=1&autohide=1&fs=1[/font]