Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
$url = 'http://www.youtube.com/watch?v=sMctOLP4DzE'; //link kam video
if(preg_match("/youtube/si",$url)){
$id = explode("?v=",$url);
echo'<iframe width="425" height="349" src="http://www.youtube.com/embed/'.$id[1].'?rel=0" frameborder="0" allowfullscreen></iframe>';
}elseif(preg_match("/vbox7/si",$url)){
$id = end(explode('play:',$url));
echo'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="450" height="403"><param name="movie" value="http://i47.vbox7.com/player/ext.swf?vid='.$id.'"><param name="quality" value="high"><embed src="http://i48.vbox7.com/player/ext.swf?vid='.$id.'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="450" height="403"></embed></object>';
}