Plugin Directory

Changeset 2848636


Ignore:
Timestamp:
01/15/2023 11:33:23 AM (3 years ago)
Author:
museai
Message:

Create tag 0.3.3

Location:
muse-ai
Files:
2 edited
3 copied

Legend:

Unmodified
Added
Removed
  • muse-ai/tags/0.3.3/muse-ai.php

    r2806778 r2848636  
    2626    $start = (float) preg_replace('/[^0-9.]/', '', $atts['start'] ?? '0');
    2727    $loop = (int) preg_replace('/[^01]/', '', $atts['loop'] ?? '0');
     28    $resume = (int) preg_replace('/[^01]/', '', $atts['resume'] ?? '0');
     29    $align = preg_replace('/"/', '', $atts['align'] ?? '');
     30    $playpos = preg_replace('/"/', '', $atts['cover_play_position'] ?? 'bottom-left');
    2831
    2932    $links = preg_replace('/"/', '', $atts['links'] ?? '1');
     
    4245        'container: "#museai-player-%1$s", video: "%s", '.
    4346        'width: "%s", links: %s, logo: %s, search: %s, autoplay: %s, '.
    44         'volume: %s, title: %s, style: "%s", start: %s, loop: %s'.
     47        'volume: %s, title: %s, style: "%s", start: %s, loop: %s, '.
     48        'resume: %s, align: "%s", coverPlayPosition: "%s"'.
    4549        '})'.
    4650        '</script>',
     
    5660        $style,
    5761        $start,
    58         $loop
     62        $loop,
     63        $resume,
     64        $align,
     65        $playpos
    5966    );
    6067    return $out;
  • muse-ai/tags/0.3.3/readme.txt

    r2806778 r2848636  
    44Requires at least: 4.7
    55Tested up to: 6.1
    6 Stable tag: 0.3.2
     6Stable tag: 0.3.3
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    2424== Changelog ==
    2525
     26= 0.3.3 =
     27* Support for shortcode resume, align, and cover_play_position attributs.
     28
    2629= 0.3.2 =
    2730* Support for shortcode start and loop attributes.
  • muse-ai/trunk/muse-ai.php

    r2806778 r2848636  
    2626    $start = (float) preg_replace('/[^0-9.]/', '', $atts['start'] ?? '0');
    2727    $loop = (int) preg_replace('/[^01]/', '', $atts['loop'] ?? '0');
     28    $resume = (int) preg_replace('/[^01]/', '', $atts['resume'] ?? '0');
     29    $align = preg_replace('/"/', '', $atts['align'] ?? '');
     30    $playpos = preg_replace('/"/', '', $atts['cover_play_position'] ?? 'bottom-left');
    2831
    2932    $links = preg_replace('/"/', '', $atts['links'] ?? '1');
     
    4245        'container: "#museai-player-%1$s", video: "%s", '.
    4346        'width: "%s", links: %s, logo: %s, search: %s, autoplay: %s, '.
    44         'volume: %s, title: %s, style: "%s", start: %s, loop: %s'.
     47        'volume: %s, title: %s, style: "%s", start: %s, loop: %s, '.
     48        'resume: %s, align: "%s", coverPlayPosition: "%s"'.
    4549        '})'.
    4650        '</script>',
     
    5660        $style,
    5761        $start,
    58         $loop
     62        $loop,
     63        $resume,
     64        $align,
     65        $playpos
    5966    );
    6067    return $out;
  • muse-ai/trunk/readme.txt

    r2806778 r2848636  
    44Requires at least: 4.7
    55Tested up to: 6.1
    6 Stable tag: 0.3.2
     6Stable tag: 0.3.3
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    2424== Changelog ==
    2525
     26= 0.3.3 =
     27* Support for shortcode resume, align, and cover_play_position attributs.
     28
    2629= 0.3.2 =
    2730* Support for shortcode start and loop attributes.
Note: See TracChangeset for help on using the changeset viewer.