Changeset 2017885
- Timestamp:
- 01/23/2019 07:22:22 PM (7 years ago)
- Location:
- list-mixcloud/trunk
- Files:
-
- 3 edited
-
list-mixcloud.php (modified) (2 diffs)
-
playlist.js (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
list-mixcloud/trunk/list-mixcloud.php
r2016504 r2017885 4 4 Plugin URI: http://rodolphe-moulin.fr/list-mixcloud 5 5 Description: Show list or last podcast MixCloud of your channel 6 Version: 1.1 6 Version: 1.1.1 7 7 Author: Rodolphe MOULIN 8 8 Author URI: http://rodolphe-moulin.fr … … 30 30 // widget : mini|picture|classic widget iframe by MixCloud 31 31 // mode : 0 to list to show all podcast in a page, last to show the last upload on frontpage by example 32 // playlist : to show list of audio instead of list of widget. Show only one widget32 // playlist : 1 to show list of audio instead of list of widget. Show only one widget 33 33 add_shortcode('listmixcloud', 'getListMixCloud'); 34 34 $dom = ""; -
list-mixcloud/trunk/playlist.js
r2016504 r2017885 1 1 jQuery(function ($) { 2 2 dom = $("#uniqueWidget"); 3 srcRoot = $("#uniqueWidget").attr('src').split("&feed=")[0]; 4 li = $('#plList li').on('click', function () { 5 var id = $(this).find(".plItem>.plTitle").attr('idtrack'); 6 console.log(id); 7 dom.attr('src',srcRoot + "&feed="+id); 8 $('.plSel').removeClass('plSel'); 9 $(this).addClass('plSel'); 10 }); 3 if(dom.length) { 4 srcRoot = $("#uniqueWidget").attr('src').split("&feed=")[0]; 5 li = $('#plList li').on('click', function () { 6 var id = $(this).find(".plItem>.plTitle").attr('idtrack'); 7 console.log(id); 8 dom.attr('src',srcRoot + "&feed="+id); 9 $('.plSel').removeClass('plSel'); 10 $(this).addClass('plSel'); 11 }); 12 } 11 13 }); -
list-mixcloud/trunk/readme.txt
r2016504 r2017885 3 3 Tags: mixcloud, music, musique, list, widget, plugin, extension, podcast, stream, audio, mp3, listen, preaching 4 4 Requires at least: 2.7.0 5 Tested up to: 5.0. 25 Tested up to: 5.0.3 6 6 Requires PHP: 5.2.4 7 7 License: GPLv2 or later … … 58 58 == Changelog == 59 59 60 = 1.1.0 = 61 * Debug javascript 62 60 63 = 1.1 = 61 64 * Added an playlist attribut "playlist" in shortcode and widget. If is used, this plugin show list of audio instead of list of mixcloud widget. Show only one widget.
Note: See TracChangeset
for help on using the changeset viewer.