@ 2018-10-29T06:38:00Z <?php
class EmbedRandomize {
var $embed,$listapi;
public function dataAPI(){
$api = explode(',',$this->listapi);
return $api;
}
public function isContains($match,$string){
if(strpos($string,$match) !== false){
return true;
}
return false;
}
public function isInternalEmbed(){
foreach($this->dataAPI() as $value){
$plugins = str_replace('/api','/plugins',trim($value));
if($this->isContains($plugins,$this->embed)){
return true;
}
}
return false;
}
public function randomize(){
$api = $this->dataAPI();
$numserver = mt_rand(0,(count($api)-1));
$data = str_replace('/api','/plugins',trim($api[$numserver]));
$list = array();
foreach($this->dataAPI() as $value){
$list[] = str_replace('/api','/plugins',trim($value));
}
return str_replace($list,$data,$this->embed);
}
public function modify(){
if($this->isInternalEmbed()){
return $this->randomize();
}
return $this->embed;
}
}
$apiconfig = 'https://server.omovv.com/api';
$embed = '<iframe src="https://server.omovv.com/plugins/openload/embed.php?id=2GqeLBWdH61NiJuXNrfChmCoM8s7InY0nh9y7d2g2AoXhoRwE4hbyIJxvAtLdbH70zNq1VAHDLphboTenncx68hn7mcN7FODrBWGSuix" frameborder="0" scrolling="no" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe>';
$embed2 = '<iframe src="https://oload.stream/plugins/openload/embed.php?id=2GqeLBWdH61NiJuXNrfChmCoM8s7InY0nh9y7d2g2AoXhoRwE4hbyIJxvAtLdbH70zNq1VAHDLphboTenncx68hn7mcN7FODrBWGSuix" frameborder="0" scrolling="no" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe>';
$video = new EmbedRandomize();
$video->listapi = $apiconfig;
$video->embed = $embed;
echo $video->modify();
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version System time (s) User time (s) Memory (MiB) 7.2.11 0.027 0.006 14.92 7.2.10 0.049 0.011 14.77 7.2.9 0.024 0.010 14.99 7.2.8 0.025 0.004 14.83 7.2.7 0.032 0.007 15.00 7.2.6 0.019 0.009 14.98 7.2.5 0.018 0.012 15.01 7.2.4 0.028 0.003 14.96 7.2.3 0.026 0.004 14.71 7.2.2 0.024 0.004 15.27 7.2.1 0.030 0.009 14.76 7.2.0 0.011 0.012 14.93 7.1.23 0.020 0.008 14.04 7.1.22 0.007 0.018 13.60 7.1.21 0.022 0.011 14.05 7.1.20 0.024 0.008 14.00 7.1.19 0.016 0.012 13.95 7.1.18 0.017 0.009 14.10 7.1.17 0.027 0.006 13.81 7.1.16 0.014 0.014 13.80 7.1.15 0.025 0.006 13.83 7.1.14 0.018 0.010 13.81 7.1.13 0.021 0.007 13.92 7.1.12 0.022 0.008 13.86 7.1.11 0.025 0.004 13.98 7.1.10 0.020 0.003 13.66 7.1.9 0.015 0.012 13.40 7.1.8 0.057 0.007 13.76 7.1.7 0.026 0.009 13.53 7.1.6 0.038 0.007 31.57 7.1.5 0.050 0.011 31.30 7.1.4 0.039 0.010 31.67 7.1.3 0.039 0.013 31.86 7.1.2 0.046 0.014 31.79 7.1.1 0.028 0.003 13.75 7.1.0 0.028 0.003 13.68 5.6.38 0.007 0.011 14.09
preferences:dark mode live preview
35.48 ms | 401 KiB | 5 Q