This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
bbc [2015/07/23 23:43] admin |
bbc [2015/07/23 23:48] (current) admin |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| <php> | <php> | ||
| //echo 1+0; | //echo 1+0; | ||
| - | $min=1; $max=87; //the number of videos on your playlist | + | $min=1; $max=333; //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?v=UUZXbvNkOqOKGdaiV82_3zAQ&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=UUZXbvNkOqOKGdaiV82_3zAQ&index='.$rand.'&showinfo=0&autoplay=1&autohide=1&iv_load_policy=3&modestbranding&allowfullscreen=true" frameborder="0" allowfullscreen></iframe> |
| </html> | </html> | ||
| '; | '; | ||
| </php> | </php> | ||