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 23:45] admin |
live [2017/01/18 10:02] (current) admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
<php> | <php> | ||
//echo 1+0; | //echo 1+0; | ||
- | $min=1; $max=8; //the number of videos on your playlist | + | $min=1; $max=87; //the number of videos on your playlist |
$rand = rand($min,$max); | $rand = rand($min,$max); | ||
echo ' | echo ' | ||
<html> | <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> | + | <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> | </php> | ||
+ | * See https://www.powr.io/plugins/video-gallery?src=surgefactory via http://www.brandeeanthony.com/vlogs |