Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ShowEmbedCode(){
- global $record;
- $poster_url = 'https://www.'.DOMAIN.'/thumbs/AA/'.substr($record['src'],0,2).'/'.substr($record['src'],-2).'.jpg';
- $time = time();
- $n = md5($time.'abc123'.$record['url']);
- $url = '/player/player.php?id='.base64_encode($record['url']).'&p='.base64_encode($poster_url).'&i='.$time.'&n='.$n;
- echo '<iframe class=\'player\' src="'.$url.'" frameborder="0" scrolling="no"></iframe>';
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement