Plugin Directory

Changeset 1838622


Ignore:
Timestamp:
03/12/2018 12:58:40 PM (8 years ago)
Author:
fluidplayer
Message:

Updating readme to be consistent with code structure changes

Location:
fluid-player/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fluid-player/trunk/FluidPlayerPlugin.php

    r1739659 r1838622  
    99        wp_enqueue_script(
    1010            'fluid-player-js',
    11             self::FP_CDN_ROOT_URL . '/fluidplayer.min.js',
     11            self::FP_CDN_CURRENT_URL . '/fluidplayer.min.js',
    1212            [],
    1313            false,
    1414            true
    1515        );
    16         wp_enqueue_style('fluid-player-css', self::FP_CDN_ROOT_URL . '/fluidplayer.min.css');
     16        wp_enqueue_style('fluid-player-css', self::FP_CDN_CURRENT_URL . '/fluidplayer.min.css');
    1717    }
    1818
     
    111111        $params[static::FP_VIDEO_SOURCES] = static::prepareVideoSources(
    112112            static::extractVideos(html_entity_decode($multiResVideo)),
    113             [['label' => '720', 'url' => self::FP_CDN_ROOT_URL . '/examples/video.mp4']]
     113            [['label' => '720', 'url' => self::FP_CDN_ROOT_URL . '/videos/1.3/fluidplayer_480.mp4']]
    114114        );
    115115
     
    130130        //Autoplay
    131131        if (isset($params[static::FP_OPTIONS_AUTOPLAY_JS])) {
    132             $options[static::FP_OPTIONS_AUTOPLAY_JS] = $params[static::FP_OPTIONS_AUTOPLAY_JS];
     132            $options[static::FP_OPTIONS_AUTOPLAY_JS] = false;
    133133        }
    134134
     
    285285    }
    286286
    287     const FP_CDN_ROOT_URL = 'https://cdn.fluidplayer.com/current';
     287    const FP_CDN_ROOT_URL = 'https://cdn.fluidplayer.com';
     288    const FP_CDN_CURRENT_URL = 'https://cdn.fluidplayer.com/current';
    288289
    289290    const FP_ID = 'id';
     
    358359</video>
    359360
    360 <script type="text/javascript">
     361<script id="fp-container-{id}" type="text/javascript">
    361362
    362363var fluidPlayerPluginExtended{id} = function() {
     
    367368    );
    368369};
    369 
    370370(function defer() {
    371371    if (typeof(fluidPlayer) != 'undefined') {
  • fluid-player/trunk/readme.txt

    r1743839 r1838622  
    6464    responsive="responsive"]
    6565
     66
    6667    [fluid-player-multi-res-video]
    6768        [
    68             {"label": "720", "url": "http://cdn.fluidplayer.com/current/examples/video.mp4"},
    69             {"label": "360", "url": "http://cdn.fluidplayer.com/current/examples/video360.mp4"}
     69            {"label": "720", "url": "https://cdn.fluidplayer.com/videos/1.3/fluidplayer_720.mp4"},
     70            {"label": "480", "url": "https://cdn.fluidplayer.com/videos/1.3/fluidplayer_480.mp4"}
    7071        ]
    7172    [/fluid-player-multi-res-video]
Note: See TracChangeset for help on using the changeset viewer.