Plugin Directory

Changeset 1077206


Ignore:
Timestamp:
01/28/2015 05:43:10 AM (11 years ago)
Author:
jamie3d
Message:

Fixing iframe https issue

Location:
fluid-video-embeds/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • fluid-video-embeds/trunk/fluid-video-embeds.php

    r997499 r1077206  
    55Description: Makes your YouTube and Vimeo auto-embeds fluid/full width.
    66Author: jamie3d
    7 Version: 1.2.5
     7Version: 1.2.6
    88Author URI: http://jamie3d.com
    99*/
     
    392392                    }
    393393
    394                     $iframe_url = 'http://www.youtube.com/embed/' . $this->meta['id'] . '?wmode=transparent&modestbranding=1&autohide=1&showinfo=0&rel=0';
    395                     $permalink = 'http://www.youtube.com/watch?v=' . $this->meta['id'];
     394                    $iframe_url = '//www.youtube.com/embed/' . $this->meta['id'] . '?wmode=transparent&modestbranding=1&autohide=1&showinfo=0&rel=0';
     395                    $permalink = '//www.youtube.com/watch?v=' . $this->meta['id'];
    396396                    $thumbnail = isset( $this->meta['full_image'] ) ? $this->meta['full_image'] : '';
    397397                    break;
     
    399399                    $wrapper_padding = ( $this->meta['aspect'] * 100 ) . '%';
    400400
    401                     $iframe_url = 'http://player.vimeo.com/video/' . $this->meta['id'] . '?portrait=0&byline=0&title=0';
    402                     $permalink = 'http://vimeo.com/' . $this->meta['id'];
     401                    $iframe_url = '//player.vimeo.com/video/' . $this->meta['id'] . '?portrait=0&byline=0&title=0';
     402                    $permalink = '//vimeo.com/' . $this->meta['id'];
    403403                    $thumbnail = isset( $this->meta['full_image'] ) ? $this->meta['full_image'] : '';
    404404                    break;
  • fluid-video-embeds/trunk/lib/constants.php

    r997497 r1077206  
    77
    88// The current version of this plugin
    9 if( !defined( 'FLUID_VIDEO_EMBEDS_VERSION' ) ) define( 'FLUID_VIDEO_EMBEDS_VERSION', '1.2.5' );
     9if( !defined( 'FLUID_VIDEO_EMBEDS_VERSION' ) ) define( 'FLUID_VIDEO_EMBEDS_VERSION', '1.2.6' );
    1010
    1111// The cache prefix
  • fluid-video-embeds/trunk/readme.txt

    r997497 r1077206  
    44Tags: video, youtube, vimeo, fluid, flexible, elastic, responsive, 100%, full width, embed, oEmbed
    55Requires at least: 3.3
    6 Tested up to: 4.0
     6Tested up to: 4.1
    77Stable tag: trunk
    88License: GPLv3
     
    6363
    6464== Changelog ==
     65= 1.2.6 =
     66* Removes the scheme (`http://`) from the iframe URLs for better `https://` support. Thanks to NicholasCook for the fix.
     67
    6568= 1.2.5 =
    6669* Adds an editor stylesheet for TinyMCE
     
    107110
    108111== Upgrade Notice ==
     112= 1.2.6 =
     113* Fixes https issue
     114
    109115= 1.2.5 =
    110116* Adds an editor stylesheet for TinyMCE
Note: See TracChangeset for help on using the changeset viewer.