Plugin Directory

Changeset 650460


Ignore:
Timestamp:
01/10/2013 01:43:11 AM (13 years ago)
Author:
Wiredrive
Message:

importing changes for 2.2.0 form github

Location:
wiredrive-player/trunk
Files:
5 added
4 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • wiredrive-player/trunk/README.TXT

    r394739 r650460  
    11=== Wiredrive Player ===
    2 Contributors: Wiredrive, dbaker, Daniel Bondurant
     2Contributors: Wiredrive
    33Donate link: http://www.wiredrive.com/rss
    44Tags: wiredrive, mrss, video, html5
    55Requires at least: 3.0.0
    6 Tested up to: 3.2
    7 Stable tag: 2.1.2
     6Tested up to: 3.5
     7Stable tag: 2.2.0
    88
    99This plug-in allows you to embed Wiredrive video reels and image galleries into your WordPress-powered website.
     
    1212
    1313Wiredrive WordPress Plug-in Features:
    14 
    1514* Customizable dimensions
    1615* Displays video or image, title and first credit of each asset
     
    2625
    2726Functionality Specs:
    28 
    2927* Displays video, title and first credit of each asset
    3028* The active video's thumbnail will have a border
     
    3634* If the feed is empty an error is returned
    3735* 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.
    5037
    5138== Installation ==
     
    6047== Frequently Asked Questions ==
    6148
    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/)
    6350
    6451== 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
    6562
    6663= 2.1.2 =
     
    10097== Upgrade Notice ==
    10198
    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 =
    103103* Fixed width/height bug.  Fixed credit list bug
    104104
  • wiredrive-player/trunk/js/player.js

    r375765 r650460  
    484484                jQuery(videoContainer).externalInterface({method:'removePlayButton'});
    485485            }
     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   
    486503            // Set active class on the new item
    487504            // Remove active class
     
    789806        }
    790807       
    791         // When a thumb is clicked remove the poster attribute from the video tag
    792         $(this).closest('.wd-player')
    793                 .find('.video-js')
    794                 .attr('poster',null);
    795 
    796808        // Set the stage to the current plaing item number. This is so the playlist function knows which video to play next.
    797809        $(this).closest('.wd-player')
  • wiredrive-player/trunk/player.php

    r394728 r650460  
    4848} else {
    4949
    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'; 
    5454    include_once ABSPATH . WPINC . '/feed.php';
    5555   
     
    7575        add_action('admin_menu', array($wiredriveSettings,'options_add_page'));
    7676
    77         include_once 'wiredrive_admin.php';
     77        include_once 'wiredrive-admin.php';
    7878        $wiredriveAdmin = new Wiredrive_Plugin_Admin();
    7979        add_action('init', array($wiredriveAdmin, 'init'));
  • wiredrive-player/trunk/templates/admin_header.php

    r375765 r650460  
    33    function WDPButtonClick() {
    44
    5         WDPDialogClose();
    65               
    76        // Open dialog
     
    2221                                    buttons: buttons,
    2322                                    resizable: true });
    24                                    
     23
     24        WDPDialogClose();
    2525        jQuery("#wdp-dialog").dialog("open");
    2626
  • wiredrive-player/trunk/templates/flash.php

    r366456 r650460  
    44<script>
    55var flashvars = {};
    6 flashvars.src = '<?php echo $this->get('link') ?>';
     6flashvars.src = '<?php echo urlencode(html_entity_decode($this->get('link'))) ?>';
    77flashvars.scaleMode = 'fit';
    88flashvars.mode = 'overlay';
    99flashvars.playerID = '<?php echo $this->get('attributeId') ?>';
    1010flashvars.autostart = 'false';
    11 flashvars.loadImage = '<?php echo $this->get('thumbnail') ?>';
     11flashvars.loadImage = '<?php echo urlencode(html_entity_decode($this->get('thumbnail'))) ?>';
    1212var params = {};
    1313params.menu = 'false';
  • wiredrive-player/trunk/templates/html5.php

    r375765 r650460  
    11<video id="<?php echo $this->get('attributeId') ?>" class='wd-video-player' src="<?php echo $this->get('link') ?>"
    2                         poster="<?php echo $this->get('thumbnail') ?>"
    32                        width="<?php echo $this->get('width') ?>"
    43                        height="<?php echo $this->get('height') ?>"
  • wiredrive-player/trunk/templates/thumb_loop.php

    r394728 r650460  
    1717                    href="<?php echo $item['link'] ?>"
    1818                    data-wd-item="<?php echo $key ?>"
    19                     data-wd-title="<?php echo htmlentities($item['title']) ?>"
     19                    data-wd-title="<?php echo html_entity_decode($item['title']) ?>"
    2020                    <?php if (isset($item['credits'])) : ?>data-wd-credit="<?php echo current($item['credits']); ?>"
    21                     <?php endif; ?>data-wd-description="<?php echo htmlentities($item['description']) ?>"
     21                    <?php endif; ?>data-wd-description="<?php echo html_entity_decode($item['description']) ?>"
    2222                    data-wd-source = "<?php echo $item['link'] ?>"
    2323                    data-wd-thumb = "<?php echo $item['thumbnail_lg'] ?>"
     
    3535                   
    3636                    <div class="hover-credits">
    37                         <span class="wd-title"><?php echo htmlentities($item['title']) ?></span><br />
     37                        <span class="wd-title"><?php echo html_entity_decode($item['title']) ?></span><br />
    3838                        <span class="wd-credit">
    3939                            <?php
     
    5757<?php endif; ?>
    5858
    59 <div class='wd-credits-container
     59<div class="wd-credits-container
    6060<?php if ( count($this->get('items')) == 1 || ($this->get('hidethumbs') == 'on') ) : ?>
    6161 hide-thumbs
    62 <?php endif; ?>'>
     62<?php endif; ?>">
    6363    <div class="wd-credits">
    6464        <span class="wd-title"></span>
Note: See TracChangeset for help on using the changeset viewer.