Changeset 2848636
- Timestamp:
- 01/15/2023 11:33:23 AM (3 years ago)
- Location:
- muse-ai
- Files:
-
- 2 edited
- 3 copied
-
tags/0.3.3 (copied) (copied from muse-ai/trunk)
-
tags/0.3.3/muse-ai.php (copied) (copied from muse-ai/trunk/muse-ai.php) (3 diffs)
-
tags/0.3.3/readme.txt (copied) (copied from muse-ai/trunk/readme.txt) (2 diffs)
-
trunk/muse-ai.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
muse-ai/tags/0.3.3/muse-ai.php
r2806778 r2848636 26 26 $start = (float) preg_replace('/[^0-9.]/', '', $atts['start'] ?? '0'); 27 27 $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'); 28 31 29 32 $links = preg_replace('/"/', '', $atts['links'] ?? '1'); … … 42 45 'container: "#museai-player-%1$s", video: "%s", '. 43 46 '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"'. 45 49 '})'. 46 50 '</script>', … … 56 60 $style, 57 61 $start, 58 $loop 62 $loop, 63 $resume, 64 $align, 65 $playpos 59 66 ); 60 67 return $out; -
muse-ai/tags/0.3.3/readme.txt
r2806778 r2848636 4 4 Requires at least: 4.7 5 5 Tested up to: 6.1 6 Stable tag: 0.3. 26 Stable tag: 0.3.3 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 24 24 == Changelog == 25 25 26 = 0.3.3 = 27 * Support for shortcode resume, align, and cover_play_position attributs. 28 26 29 = 0.3.2 = 27 30 * Support for shortcode start and loop attributes. -
muse-ai/trunk/muse-ai.php
r2806778 r2848636 26 26 $start = (float) preg_replace('/[^0-9.]/', '', $atts['start'] ?? '0'); 27 27 $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'); 28 31 29 32 $links = preg_replace('/"/', '', $atts['links'] ?? '1'); … … 42 45 'container: "#museai-player-%1$s", video: "%s", '. 43 46 '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"'. 45 49 '})'. 46 50 '</script>', … … 56 60 $style, 57 61 $start, 58 $loop 62 $loop, 63 $resume, 64 $align, 65 $playpos 59 66 ); 60 67 return $out; -
muse-ai/trunk/readme.txt
r2806778 r2848636 4 4 Requires at least: 4.7 5 5 Tested up to: 6.1 6 Stable tag: 0.3. 26 Stable tag: 0.3.3 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 24 24 == Changelog == 25 25 26 = 0.3.3 = 27 * Support for shortcode resume, align, and cover_play_position attributs. 28 26 29 = 0.3.2 = 27 30 * Support for shortcode start and loop attributes.
Note: See TracChangeset
for help on using the changeset viewer.