HomeLatest ThreadsGreatest ThreadsForums & GroupsMy SubscriptionsMy Posts
DU Home » Latest Threads » Forums & Groups » Main » Community Help (Forum) » Unofficial DU3 Basic HTML... » Reply #6

Response to muriel_volestrangler (Reply #4)

Fri Jun 1, 2012, 03:49 AM

6. There doesn't seem to be a way to embed while adding parameters.

Last edited Thu Sep 5, 2013, 06: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]

Reply to this post

Back to OP Alert abuse Link to post in-thread

Always highlight: 10 newest replies | Replies posted after I mark a forum
Replies to this discussion thread
Arrow 63 replies Author Time Post
Make7 May 2012 OP
rocktivity May 2012 #1
Make7 May 2012 #3
muriel_volestrangler May 2012 #4
LineLineLineLineReply There doesn't seem to be a way to embed while adding parameters.
Make7 Jun 2012 #6
JustanAngel Sep 2013 #36
maxcopper Jun 2013 #31
JustanAngel Sep 2013 #35
Scuba May 2012 #2
RainDog May 2012 #5
Fortinbras Armstrong Sep 2013 #33
RainDog Sep 2013 #34
Ohio Joe Jun 2012 #7
Lugnut Jun 2012 #8
Lookz Jun 2012 #9
Egalitarian Thug Dec 2012 #10
Make7 Dec 2012 #11
annabanana Dec 2012 #12
Make7 Mar 2013 #13
muriel_volestrangler Mar 2013 #15
Make7 Mar 2013 #16
Agschmid Mar 2013 #14
Make7 Mar 2013 #17
Make7 Apr 2013 #18
lumberjack_jeff Apr 2013 #26
Make7 Apr 2013 #28
lumberjack_jeff Apr 2013 #29
davidpdx Apr 2014 #47
Make7 May 2014 #48
Ptah Apr 2013 #19
RainDog Apr 2013 #20
Make7 Apr 2013 #21
RainDog Apr 2013 #22
Make7 Apr 2013 #23
petronius Apr 2013 #24
Make7 Apr 2013 #25
petronius Apr 2013 #27
TexasTowelie May 2013 #30
params193 Aug 2013 #32
Name removed Sep 2013 #37
Name removed Nov 2013 #38
RainDog Jan 2014 #39
RainDog Jan 2014 #40
Make7 Jan 2014 #41
RainDog Jan 2014 #42
Make7 Jan 2014 #43
RainDog Jan 2014 #44
Make7 Jan 2014 #45
Paladin Mar 2014 #46
Name removed May 2014 #49
tarheelsunc May 2014 #50
Make7 May 2014 #51
laserhaas Dec 2014 #52
Make7 Apr 2015 #53
Initech Jan 2017 #61
Name removed Oct 2015 #54
ColesCountyDem Oct 2015 #55
w0nderer Oct 2015 #56
Name removed Nov 2015 #57
Name removed Mar 2016 #58
blueseas Jan 2017 #59
Make7 Jan 2017 #60
nikibatts Feb 2017 #62
Name removed Jun 14 #63
Please login to view edit histories.