Takes a Youtube playlist and prettifies it into HTML using Google App Script. Ideal for integrating with Google Sites.
Once published as a web app, the following parameters are available:
The playlist ID to pull data from
- Expected value: String of playlist ID
- Default value:
UUaN5pdq-IL4TMCusowpEn6w
Choose whether or not to show private/unlisted videos in results
- Expected value: Array containing some or all of
public,unlisted, orprivate - Default value:
[public,unlisted]
Limits the number of results
NOTE: Setting this to a high value or leaving unset will have a large impact on load times
- Expected value: Whole number (integer)
- Default value:
infinity
Sets the color of link text
- Expected value: String of HTML Color Name OR
rgb(XXX,YYY,ZZZ)value of color - Default value:
rgb(0,0,238)
Sets the color of page background
- Expected value: String of HTML Color Name OR
rgb(XXX,YYY,ZZZ)value of color - Default value:
white
Sets the font of link text
- Expected value: String name of Web safe font or Google Font
- Default value:
sans-serif
Sets the size of link text
- Expected value: String of number followed by length unit
- Default value:
12pt
Sets the font weight
- Expected value: String of predefined font weight or number between 100-900
- Default value:
normal
Sets the line height
- Expected value: Any allowable CSS line-height value
- Default value:
1.2
https://script.google.com/macros/s/AKf...4EsLU/exec?aCol=rgb(28,28,28)&font=Open+Sans&fontSize=12pt&fontWght=400&lineHeight=1.5&results=50&list=UUaN5pdq-IL4TMCusowpEn6w
