Category: VIDEO

[insert_php]

$devType = $_SERVER[‘HTTP_USER_AGENT’] . “\n\n”;

$PCs= array(‘Macintosh’, ‘macintosh’, ‘Windows’, ‘windows’);
$TELs= array(‘Android’, ‘android’, ‘iPhone’, ‘iphone’, ‘iPod’, ‘ipod’);

foreach ($PCs as $dev) {
//if (strstr($string, $url)) { // mine version
if (strpos($devType, $dev) !== FALSE) { // Yoshi version

echo “