This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
bbcbidiyo [2015/07/23 23:52] admin created |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <php> | ||
- | //echo 1+0; | ||
- | $min=0; $max=34; //the number of videos on your playlist | ||
- | $rand = rand($min,$max); | ||
- | echo ' | ||
- | <html> | ||
- | <iframe width="100%" height="500" src="//www.youtube.com/embed/videoseries?list=UCOOPOXTbogs2_lUg6PkLRgw&index='.$rand.'&showinfo=0&autoplay=1&autohide=1&iv_load_policy=3&modestbranding&allowfullscreen=true" frameborder="0" allowfullscreen></iframe> | ||
- | </html> | ||
- | '; | ||
- | </php> | ||