This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
bbcbidiyo [2015/07/23 23:54] admin |
bbcbidiyo [2015/07/25 07:27] admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
<php> | <php> | ||
//echo 1+0; | //echo 1+0; | ||
- | $min=1; $max=34; //the number of videos on your playlist | + | //$min=1; $max=34; //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="//youtube.com/embed/5b733gLXJPg?list=UUOOPOXTbogs2_lUg6PkLRgw&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="//youtube.com/embed/5b733gLXJPg?list=UUOOPOXTbogs2_lUg6PkLRgw&index=1&showinfo=0&autoplay=1&autohide=1&iv_load_policy=3&modestbranding&allowfullscreen=true" frameborder="0" allowfullscreen></iframe> |
</html> | </html> | ||
'; | '; | ||
</php> | </php> | ||