Source: site.view [edit]
Function name: snipVideo
Arguments: url,startSecs,endSecs
Description: Embeds a YouTube video from startSecs to endSecs
Page type: webl
Render function:  
Module: global

Page source:


var s = `<object width=”560&#8243; height=”340&#8243;><param name=”movie” value=”`;

s = s + url;

s = s + `hl=en_US&start=`;

s = s + startSecs;

s = s + `“></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”`;

s = s + url;

s = s + `&hl=en_US&start=`;

s = s + startSecs;

s = s + `” type=”application/x-shockwave-flash” allowscriptaccess=”always” allowfullscreen=”true” width=”560&#8243; height=”340&#8243;></embed></object>`;

NewPage(s, "text/html");