Changeset 650460
- Timestamp:
- 01/10/2013 01:43:11 AM (13 years ago)
- Location:
- wiredrive-player/trunk
- Files:
-
- 5 added
- 4 deleted
- 7 edited
-
README.TXT (modified) (6 diffs)
-
js/player.js (modified) (2 diffs)
-
player.php (modified) (2 diffs)
-
settings.php (deleted)
-
template.php (deleted)
-
templates/admin_header.php (modified) (2 diffs)
-
templates/flash.php (modified) (1 diff)
-
templates/html5.php (modified) (1 diff)
-
templates/thumb_loop.php (modified) (3 diffs)
-
wiredrive-admin.php (added)
-
wiredrive-button.php (added)
-
wiredrive-plugin.php (added)
-
wiredrive-settings.php (added)
-
wiredrive-template.php (added)
-
wiredrive.php (deleted)
-
wiredrive_admin.php (deleted)
Legend:
- Unmodified
- Added
- Removed
-
wiredrive-player/trunk/README.TXT
r394739 r650460 1 1 === Wiredrive Player === 2 Contributors: Wiredrive , dbaker, Daniel Bondurant2 Contributors: Wiredrive 3 3 Donate link: http://www.wiredrive.com/rss 4 4 Tags: wiredrive, mrss, video, html5 5 5 Requires at least: 3.0.0 6 Tested up to: 3. 27 Stable tag: 2. 1.26 Tested up to: 3.5 7 Stable tag: 2.2.0 8 8 9 9 This plug-in allows you to embed Wiredrive video reels and image galleries into your WordPress-powered website. … … 12 12 13 13 Wiredrive WordPress Plug-in Features: 14 15 14 * Customizable dimensions 16 15 * Displays video or image, title and first credit of each asset … … 26 25 27 26 Functionality Specs: 28 29 27 * Displays video, title and first credit of each asset 30 28 * The active video's thumbnail will have a border … … 36 34 * If the feed is empty an error is returned 37 35 * If the feed does not exist an error is returned 38 * Works with both MRSS feeds and presentation URLs. 39 40 Known Issues: 41 42 * A one pixel border around the Flash player is hardcoded into the Flash player. Attempts to remove it have been unsuccessful. We are working to fix this issue. 43 * The poster frame will stretch to fill the player for browsers that use Flash if the file's aspect ratio differs from the dimensions you've set for the player. This is an issue with the Flash player. We are working to fix this issue. 44 * When using the new grid mode on an iPad or iPhone, sequential playback does not work. 45 46 Untested: 47 48 * Video playback on Android. Android currently plays .mp4 and H.264 files. No plans to play .mov files have been announced. 49 * Playback for formats that Safari and Flash do not natively support (e.g., .avi or .divx). 36 * Works with MRSS feeds, short links and presentation URLs. 50 37 51 38 == Installation == … … 60 47 == Frequently Asked Questions == 61 48 62 [Please see "Wiredrive Media RSS FAQ" on Wiredrive.com](http://www.wiredrive.com/archives/4853/)49 [Please see "Wiredrive extensions for WordPress" on Wiredrive.com](http://www.wiredrive.com/support/getting-started/wiredrive-extensions-for-wordpress/) 63 50 64 51 == Changelog == 52 53 = 2.2.0 = 54 * fixed bug where & characters in asset URLs were not being passed to flash correctly. 55 * fixed a bug when hidethumbs was enabled. tag wasn't closed properly. 56 * fix for html entities being displayed instead of applicable characters. 57 * removing poster element which caused a thumbnail bug when a video was played. 58 * fix for html entities being displayed instead of applicable characters. 59 * height/width resize fix. courtesy Visual23 - Robb Bennett ([email protected]) 60 * removing poster element which caused a thumbnail bug when a video was played 61 * renamed files so they will work better with other plugins. settings.php was conflicting with other plugins settings files in php5.2 65 62 66 63 = 2.1.2 = … … 100 97 == Upgrade Notice == 101 98 102 = 2.1.2= 99 = 2.2.0 = 100 * Fixed issue with & in asset URLs. Fixed HTML encoding and layout issues. 101 102 = 2.1.2 = 103 103 * Fixed width/height bug. Fixed credit list bug 104 104 -
wiredrive-player/trunk/js/player.js
r375765 r650460 484 484 jQuery(videoContainer).externalInterface({method:'removePlayButton'}); 485 485 } 486 487 // Get next child 488 var nextChild = jQuery(this).closest('.wd-player').find('.wd-thumb-list li a').eq(nextItem); 489 490 // Get video width and height 491 var newImageHeight = nextChild.attr('data-wd-height'); 492 var newImageWidth = nextChild.attr('data-wd-width'); 493 494 // Resize video container 495 jQuery(videoContainer).css({width: newImageWidth}); 496 jQuery(videoContainer).css({height: newImageHeight}); 497 498 // Center stage 499 jQuery('.wd-stage') 500 .css('margin-top', 0-(newImageHeight/2)+'px') 501 .css('margin-left', 0-(newImageWidth/2)+'px'); 502 486 503 // Set active class on the new item 487 504 // Remove active class … … 789 806 } 790 807 791 // When a thumb is clicked remove the poster attribute from the video tag792 $(this).closest('.wd-player')793 .find('.video-js')794 .attr('poster',null);795 796 808 // Set the stage to the current plaing item number. This is so the playlist function knows which video to play next. 797 809 $(this).closest('.wd-player') -
wiredrive-player/trunk/player.php
r394728 r650460 48 48 } else { 49 49 50 include_once 'wiredrive .php';51 include_once ' button.php';52 include_once ' template.php';53 include_once ' settings.php';50 include_once 'wiredrive-plugin.php'; 51 include_once 'wiredrive-button.php'; 52 include_once 'wiredrive-template.php'; 53 include_once 'wiredrive-settings.php'; 54 54 include_once ABSPATH . WPINC . '/feed.php'; 55 55 … … 75 75 add_action('admin_menu', array($wiredriveSettings,'options_add_page')); 76 76 77 include_once 'wiredrive _admin.php';77 include_once 'wiredrive-admin.php'; 78 78 $wiredriveAdmin = new Wiredrive_Plugin_Admin(); 79 79 add_action('init', array($wiredriveAdmin, 'init')); -
wiredrive-player/trunk/templates/admin_header.php
r375765 r650460 3 3 function WDPButtonClick() { 4 4 5 WDPDialogClose();6 5 7 6 // Open dialog … … 22 21 buttons: buttons, 23 22 resizable: true }); 24 23 24 WDPDialogClose(); 25 25 jQuery("#wdp-dialog").dialog("open"); 26 26 -
wiredrive-player/trunk/templates/flash.php
r366456 r650460 4 4 <script> 5 5 var flashvars = {}; 6 flashvars.src = '<?php echo $this->get('link') ?>';6 flashvars.src = '<?php echo urlencode(html_entity_decode($this->get('link'))) ?>'; 7 7 flashvars.scaleMode = 'fit'; 8 8 flashvars.mode = 'overlay'; 9 9 flashvars.playerID = '<?php echo $this->get('attributeId') ?>'; 10 10 flashvars.autostart = 'false'; 11 flashvars.loadImage = '<?php echo $this->get('thumbnail') ?>';11 flashvars.loadImage = '<?php echo urlencode(html_entity_decode($this->get('thumbnail'))) ?>'; 12 12 var params = {}; 13 13 params.menu = 'false'; -
wiredrive-player/trunk/templates/html5.php
r375765 r650460 1 1 <video id="<?php echo $this->get('attributeId') ?>" class='wd-video-player' src="<?php echo $this->get('link') ?>" 2 poster="<?php echo $this->get('thumbnail') ?>"3 2 width="<?php echo $this->get('width') ?>" 4 3 height="<?php echo $this->get('height') ?>" -
wiredrive-player/trunk/templates/thumb_loop.php
r394728 r650460 17 17 href="<?php echo $item['link'] ?>" 18 18 data-wd-item="<?php echo $key ?>" 19 data-wd-title="<?php echo html entities($item['title']) ?>"19 data-wd-title="<?php echo html_entity_decode($item['title']) ?>" 20 20 <?php if (isset($item['credits'])) : ?>data-wd-credit="<?php echo current($item['credits']); ?>" 21 <?php endif; ?>data-wd-description="<?php echo html entities($item['description']) ?>"21 <?php endif; ?>data-wd-description="<?php echo html_entity_decode($item['description']) ?>" 22 22 data-wd-source = "<?php echo $item['link'] ?>" 23 23 data-wd-thumb = "<?php echo $item['thumbnail_lg'] ?>" … … 35 35 36 36 <div class="hover-credits"> 37 <span class="wd-title"><?php echo html entities($item['title']) ?></span><br />37 <span class="wd-title"><?php echo html_entity_decode($item['title']) ?></span><br /> 38 38 <span class="wd-credit"> 39 39 <?php … … 57 57 <?php endif; ?> 58 58 59 <div class= 'wd-credits-container59 <div class="wd-credits-container 60 60 <?php if ( count($this->get('items')) == 1 || ($this->get('hidethumbs') == 'on') ) : ?> 61 61 hide-thumbs 62 <?php endif; ?> '>62 <?php endif; ?>"> 63 63 <div class="wd-credits"> 64 64 <span class="wd-title"></span>
Note: See TracChangeset
for help on using the changeset viewer.