Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Search the Community

Showing results for tags 'embedder'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Support
    • Suggestions
    • Bugs
    • Forum rules!
    • Members groups privileges
    • Announcements and Updates
    • Frequently Asked Questions
  • General Discussion
    • Welcome!
    • Off-topic Lounge
    • BBF Forum Lounge
    • BBF trusted Forum Lounge
    • Thanks for Donations
    • WARNINGS
    • Affiliates & BackLinks
  • BBF Share
    • BBF exclusive share
    • BBF Buys
    • Software, Scripts, Tools and Bots
    • WoWonder | PlayTube | FLAME | PixelPhoto
    • Design & Templates & Themes
    • Graphics
    • VideoHive
    • Socialkit
    • Wordpress
    • Joomla
    • Drupal
    • IPS Community Suite 4
    • XenForo
    • PrestaSHOP
    • OpenCart
    • PageKit
    • WHMCS
    • Blesta
    • Torrents
    • Android
    • Serials Cracks Keygens
  • Cryptocurrency
    • BBF Miners
    • SCAM
    • Forecasts
    • Bitcoin
    • Ethereum
    • Bytecoin
  • Android Forum
    • Buyers Guides
    • Android Developers
    • Android 9.0 Pie
    • Android 8.0 Oreo
    • Android 7.0 Nougat
    • Android 6.0 Marshmallow
    • Android 5.0 Lollipop
    • Android 4.4 KitKat
    • Android 4.1 / 4.2 / 4.3 Jelly Bean
    • Android 4.0 Ice Cream Sandwich
    • Android 3.0 Honeycomb
    • Android 2.3 Gingerbread
    • Samsung Android Phones
  • IOS Forum
    • Jailbreaks and iOS Hacks
    • iOS Programming
    • IOS
  • BBF GameZone
    • GameZone Lounge
    • RuneScape
    • CS-GO
    • Data2
    • Minecraft
  • BBF MarketPlace
    • Marketplace (Buy, Sell, Trade)
    • Affiliate forum
    • Coupons and Deals
  • BBF Polls
    • What is what?
  • UDEMY
    • UDEMY FREE Courses
  • BBF JOB Section
    • Programming jobs
    • Find a developer
  • BBF SEO
    • Search Engine Optimization and Traffic Discussions
    • SEO Tutorials Section
    • Social networks
  • BBF Developers
    • Webmaster Lounge
    • IOS Developers
    • PHP Developers
    • Servers
  • BBF Hacking
    • Hacking softwares
    • Kali linux
    • Viruses
    • Exploit Pack
  • BBF Graveyard
    • Archives
    • SPAM
  • Российский клуб (Russian club)'s ОБСУЖДЕНИЕ
  • Российский клуб (Russian club)'s помощь
  • Gamers Club's CS-GO Gamers Lounge
  • Gamers Club's Dota2 Gamers Lounge
  • ADH's Club's WoWonder Nulling
  • ADH's Club's Help and Support
  • Wowonder's Wowonder modifications

Categories

  • BBF Sale
  • BBF exclusive
  • Software
  • Scripts
  • Design & Templates & Themes
  • WoWonder | PlayTube | FLAME | PixelPhoto
  • Wordpress templates
  • Wordpress plugins
  • Joomla templates
  • Joomla plugins
  • IPS Community Suite
    • Applications and Plugins
    • Themes
  • XenForo
  • WHMCS
  • Blesta
  • Android source code
  • Android APk apps
  • Wowonder's Wowonder downloads
  • Script Nulling's Files

Blogs

There are no results to display.

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Abilities

Found 1 result

  1. I'm looking for a PHP developer to make some modifications on adult video script - Mass Embedder plugin. now mass embedder embeds just one page, I want to automatically go forward in pagination and embeds pages 1, 2, 3, .. and so on. for example, this is empflix.php which embeds one page per time from empflix[dot]com <?php class MEmbed_empflix { public $url; public $user_id; public $category; public $status; public $video; public $errors = array(); public $debug_e = array(); public $debug_w = array(); public $message; private $overflow = 500; public $video_already = 0; public $video_added = 0; public $debug; public function __construct($url, $user_id, $category, $status, $debug) { $this->url = $url; $this->user_id = $user_id; $this->category = $category; $this->status = $status; $this->debug = $debug; } public function get_videos() { $count = 0; $curl = new VCurl(); $html = clean_html($curl->saveToString($this->url)); if ($html) { if (preg_match_all('/<li data-vid=(.*?)<\/li>/', $html, $matches)) { foreach ($matches[0] as $match) { unset($debug_e); unset($debug_w); ++$count; if ($count > $this->overflow) { $this->errors[] = 'Overflow reached (500)! Aborting!'; return false; } $video = array( 'user_id' => $this->user_id, 'status' => $this->status, 'site' => 'empflix', 'id' => '', 'embeddable' => true, 'url' => '', 'title' => '', 'description' => '', 'tags' => '', 'category' => '', 'thumbs' => array(), 'duration' => 0, 'embed' => '' ); //Video ID if (preg_match('/data-vid=\'(.*?)\'/', $match, $matches_id)) { $video['id'] = trim($matches_id[1]); } else { if (!$this->debug) continue; else $debug_e[] = 'ID'; } //Embed Code $video['embed'] = '<iframe src="https://player.empflix.com/video/' . $video['id'] . '" width="' . E_WIDTH . '" height="' . E_HEIGHT . '" frameborder="0"></iframe>'; if (already_added($video['embed'])) { ++$this->video_already; continue; } //URL if(preg_match('/href=\'(.*?)\'/', $match, $matches_url)) { $video['url'] = 'https://www.empflix.com'.$matches_url[1]; } else { $this->errors[] = 'Failed to get video URL for ID: '.$video['id'].'!'; if (!$this->debug) continue; else $debug_e[] = 'URL'; } //Title if(preg_match('/nvtHide\'>(.*?)</', $match, $matches_title)) { $video['title'] = htmlspecialchars_decode(strip_tags(stripslashes($matches_title[1])), ENT_QUOTES); } else { $this->errors[] = 'Failed to get video title for '.$video['url'].'!'; if (!$this->debug) continue; else $debug_e[] = 'TITLE'; } //Duration if(preg_match('/videoDuration\'>(.*?)</', $match, $matches_duration)) { $video['duration'] = duration_to_seconds($matches_duration[1]); } else { $this->errors[] = 'Failed to get video duration for '.$video['url'].'!'; if (!$this->debug) continue; else $debug_e[] = 'DURATION'; } //Thumbnails if(preg_match('/data-original=\'(.*?)\'/', $match, $matches_thumb)) { $thumb_url = trim($matches_thumb[1]); $thumb_url = explode ("-", $thumb_url); $thumb_url[0] = addhttp($thumb_url[0]); for ($i = 1; $i <= 20; $i++) { $video['thumbs'][] = $thumb_url[0]."-".$i."l.jpg"; } } else { $this->errors[] = 'Failed to get video thumbnails for '.$video['url'].'!'; if (!$this->debug) continue; else $debug_e[] = 'THUMBS'; } //Get Video Page $html_video = clean_html($curl->saveToString($video['url'])); //Categories if (preg_match('/Categories:<\/span>(.*?)<\/div>/', $html_video, $matches_cat_str)) { if (preg_match_all('/">(.*?)<\/a>/', $matches_cat_str[1], $matches_category)) { $matches_category[1] = array_map('trim', $matches_category[1]); $video['category'] = implode(',', $matches_category[1]); } else { $debug_w[] = 'CATEGORY'; } } else { $debug_w[] = 'CATEGORY'; } //Tags $debug_w[] = 'TAGS'; //Check Embeddable Content if (!strpos($html_video, 'Share')) { $video['embeddable'] = false; $debug_w[] = 'EMBEDDABLE'; if (end($matches[0]) !== $match) continue; } //Debug Mode if ($this->debug) { echo "Match Content (". $count ."): <textarea style='width:100%' rows=10>".$match."</textarea><br>"; if ($debug_e) echo "Errors: " . implode(', ',$debug_e) . "<br>"; if ($debug_w) echo "Warnings: " . implode(', ',$debug_w) . "<br>"; echo "<pre>"; print_r($video); echo "</pre>"; exit; } //Add Video if (add_video($video)) { ++$this->video_added; } else { $this->errors[] = 'Failed to add '.$video['url'].'!'; } } //Foreach Loop - END } else { $this->errors[] = 'Failed to find embeddable videos on the specified page!'; } } else { $this->errors[] = 'Failed to get html code for specified url!'; } if (!$this->errors) { return true; } return false; } } ?>
×

Important Information

By using this site, you agree to our Terms of Use and Guidelines.