This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
live [2015/07/23 22:59] admin |
live [2017/01/18 10:02] (current) admin |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | <html> | ||
| <php> | <php> | ||
| - | echo 1+0; | + | //echo 1+0; |
| - | </php> | + | $min=1; $max=87; //the number of videos on your playlist |
| - | <iframe width="100%" height="500" src="//www.youtube.com/embed/videoseries?list=FLePIbrksDSf3YEllxCGBufw&showinfo=0&autoplay=1&autohide=1&iv_load_policy=3&modestbranding&allowfullscreen=true" frameborder="0" allowfullscreen></iframe> | + | $rand = rand($min,$max); |
| + | echo ' | ||
| + | <html> | ||
| + | <iframe width="100%" height="500" src="//www.youtube.com/embed/videoseries?&list=UUePIbrksDSf3YEllxCGBufw&index='.$rand.'&showinfo=0&autoplay=1&autohide=1&iv_load_policy=3&modestbranding&allowfullscreen=true" frameborder="0" allowfullscreen></iframe> | ||
| </html> | </html> | ||
| + | '; | ||
| + | </php> | ||
| + | * See https://www.powr.io/plugins/video-gallery?src=surgefactory via http://www.brandeeanthony.com/vlogs | ||