Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="system">
- <?php if (have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <article class="item">
- <header>
- <h1><?php the_title(); ?></h1>
- </header>
- <div class="content clearfix"><?php the_content(''); ?></div>
- <form action="" method="post">
- <label for="author">Enter Video URL: </label><input type="text" name="txtID" style="width:300px;" value="<?php echo $url; ?>">
- <!--
- <select name="video-provider">
- <option value="videobb">VideoBB</option>
- <option value="videozer">VideoZer</option>
- <option value="userporn">UserPorn</option>
- </select>
- -->
- <input type="submit" value="Get video" id="submit" name="submit">
- </form>
- <?php
- $video = $_POST['txtID'];
- $provider=substr($video,0, 25);
- if($provider=="http://videobb.com/video/") $vid= substr($video, 25);
- if($provider=="http://videozer.com/video") $vid= substr($video, 26);
- if($provider=="http://videobb.com/watch_") $vid= substr($video, 37);
- if($provider=="http://www.videobb.com/wa") $vid= substr($video, 41);
- if($provider=="http://www.videobb.com/vi") $vid= substr($video, 29);
- if($provider=="http://www.videozer.com/v") $vid= substr($video, 30);
- if($provider != ''){
- ?>
- <p><center>Watching <strong>
- <?php echo $video; ?>
- </strong> from <strong>
- <?php echo $post->post_title; ?>
- </strong><br> Brought to you by <b>
- <?php bloginfo('name'); ?>
- </b></center></p>
- <?php
- switch($provider){
- case "http://videobb.com/video/":$url = 'http://www.bypasslimits.com/videobb.php?id='.$vid; $loc="videobb";
- break;
- case "http://videobb.com/watch_":$url = 'http://www.bypasslimits.com/videobb.php?id='.$vid; $loc="videobb";
- break;
- case "http://www.videobb.com/wa":$url = 'http://www.bypasslimits.com/videobb.php?id='.$vid; $loc="videobb";
- break;
- case "http://www.videobb.com/vi":$url = 'http://www.bypasslimits.com/videobb.php?id='.$vid; $loc="videobb";
- break;
- case "http://www.videozer.com/v":$url = 'http://www.bypasslimits.com/videozer.php?id='.$vid; $loc="videozer";
- break;
- case "http://videozer.com/video":$url = 'http://www.bypasslimits.com/videozer.php?id='.$vid; $loc="videozer";
- break;
- default:$url = "";
- }
- if($url != ""){
- // echo do_shortcode('[pro-player]'.$url.'[/pro-player]');
- ?>
- <div name="mediaspace" id="mediaspace"><div class="pro-player-container" width="580px" height="390px">
- <a href="<?php echo $url;?>" style="display:block;width:580px;height:390px" id="player"></a>
- </div></div>
- <script>
- flowplayer("player", "/flowplayer-3.2.7.swf",{
- //key: '$c6e9311935842bee951',
- //logo: {
- // default logo and its position
- // url: 'http://www.bypasslimits.com.com/wp-content/plugins/proplayer/players/watermark.png',
- // top: 20,
- // right: 20,
- // opacity: 0.4,
- // you can supply a relative size (to make the logo larger in fullscreen)
- // width: '6.5%',
- // height: '6.5%',
- // if set to false, then the logo is also shown in non-fullscreen mode
- // fullscreenOnly: true,
- // time to display logo (in seconds). 0 = show forever
- // displayTime: 0,
- /*
- if displayTime > 0 then this specifies the time it will take for
- the logo to fade out. this happens internally by changing the opacity
- property from its initial value to full transparency.
- value is given in milliseconds.
- */
- // fadeSpeed: 0,
- // for commercial versions you can specify where the user is redirected when the logo is clicked
- // linkUrl: 'http://www.bypasslimits.com.com
- //},
- plugins: {
- controls: {
- url: '/flowplayer.controls.swf'
- }
- }
- });
- </script>
- <div style="width:100%;">
- <div style="width:48%;float:left;">
- <strong>Video URL : </strong><br>
- <textarea rows="3" cols="35" id="vidurl" onclick="this.select()" readonly="readOnly" style="padding:0px;width:99%;height:45px;border:1px solid #d4d4d4;overflow-y:scroll;"><?php echo $url;?></textarea>
- </div>
- <div style="width:48%;float:right;">
- <strong>Embed This Video : </strong><br>
- <textarea rows="3" id="emburl" cols="35" onclick="this.select()" readonly="readOnly" style="padding:0px;width:99%;height:45px;border:1px solid #d4d4d4;overflow-y:scroll;"><iframe width="520" height="330" src="http://www.bypasslimits.com.com/watch.php?loc=<?php echo $loc;?>&vid=<?php echo $vid;?>" frameborder="0" ></iframe></textarea>
- </div></div>
- <?php
- }else{
- ?>
- <p>This is <b>working only</b> with <b>VideoBB, VideoZER</b> and <b>MegaVideo</b>.
- If you were using one of those sources, either you entered the <b>wrong link</b> on the <b>wrong page</b>
- or you clearly can't <b>read the instructions</b> above.<br> Try again.</p>
- <?php
- }
- }else{
- echo "";
- }
- ?>
- <?php edit_post_link(__('Edit this post.', 'warp'), '<p class="edit">','</p>'); ?>
- </article>
- <?php endwhile; ?>
- <?php endif; ?>
- <?php comments_template(); ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement