Changeset 790562
- Timestamp:
- 10/19/2013 06:27:48 PM (12 years ago)
- Location:
- podlove-web-player
- Files:
-
- 12 edited
- 1 copied
-
tags/2.0.16 (copied) (copied from podlove-web-player/trunk)
-
tags/2.0.16/podlove-web-player.php (modified) (4 diffs)
-
tags/2.0.16/readme.md (modified) (4 diffs)
-
tags/2.0.16/readme.txt (modified) (2 diffs)
-
tags/2.0.16/settings.php (modified) (1 diff)
-
tags/2.0.16/static/podlove-web-player.css (modified) (3 diffs)
-
tags/2.0.16/static/podlove-web-player.js (modified) (3 diffs)
-
trunk/podlove-web-player.php (modified) (4 diffs)
-
trunk/readme.md (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/settings.php (modified) (1 diff)
-
trunk/static/podlove-web-player.css (modified) (3 diffs)
-
trunk/static/podlove-web-player.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
podlove-web-player/tags/2.0.16/podlove-web-player.php
r768229 r790562 2 2 /** 3 3 * @package PodloveWebPlayer 4 * @version 2.0.1 54 * @version 2.0.16 5 5 */ 6 6 … … 9 9 Plugin URI: http://podlove.org/podlove-web-player/ 10 10 Description: Video and audio plugin for WordPress built on the MediaElement.js HTML5 media player library. 11 Version: 2.0.1 511 Version: 2.0.16 12 12 Author: Podlove Team 13 13 Author URI: http://podlove.org/ … … 67 67 'podlovewebplayer', 68 68 plugins_url('static/podlove-web-player.js', __FILE__), 69 array(), '2.0.1 5', false69 array(), '2.0.16', false 70 70 ); 71 71 } … … 79 79 global $blog_id; 80 80 $wp_options = get_option('podlovewebplayer_options'); 81 wp_enqueue_style( 'pwpfont', plugins_url('static/podlove-web-player.css', __FILE__), array(), '2.0.1 5' );81 wp_enqueue_style( 'pwpfont', plugins_url('static/podlove-web-player.css', __FILE__), array(), '2.0.16' ); 82 82 } 83 83 add_action( 'wp_print_styles', 'podlovewebplayer_add_styles' ); -
podlove-web-player/tags/2.0.16/readme.md
r768229 r790562 224 224 ## Changelog 225 225 226 ### 2.0.16 227 * fixes unspecific css selector bug, introduced in last version 228 * fixes removing elements other than sources 229 * fixes false milliseconds 230 231 ### 2.0.15 232 * small fixes 233 * .htaccess examples added in /help 234 226 235 ### 2.0.14 227 236 * style improvements … … 329 338 330 339 ### 1.2 331 * ** added:** Rich player with meta information (title, subtitle, summary, cover image)332 * ** added:** Opus audio codec support333 * ** added:** Chapter duration display334 * ** added:** Chapter deeplinking335 * ** added:** optional listening to WordPress enclosures340 * ** added:** Rich player with meta information (title, subtitle, summary, cover image) 341 * ** added:** Opus audio codec support 342 * ** added:** Chapter duration display 343 * ** added:** Chapter deeplinking 344 * ** added:** optional listening to WordPress enclosures 336 345 * new settings area 337 346 * fixed some issues with flash fallback … … 347 356 ### 1.1 348 357 * First proper release. 349 * ** [audio] and [video] are deprecated:** Use [podloveaudio] and [podlovevideo] instead!358 * ** [audio] and [video] are deprecated:** Use [podloveaudio] and [podlovevideo] instead! 350 359 * Implements W3C Media Fragements with start and end time 351 360 … … 356 365 ## Upgrade Notice 357 366 367 ### 2.0.16 368 * fixes css, removing elements other than sources and false milliseconds bugs 369 370 ### 2.0.15 371 small fixes and .htaccess examples added in /help 372 358 373 ### 2.0.14 359 374 style improvements, wordpress twenty thirteen theme compatibility, Firefox AAC fix, XSS Firefox Bugfix -
podlove-web-player/tags/2.0.16/readme.txt
r767599 r790562 217 217 == Changelog == 218 218 219 = 2.0.16 220 * fixes unspecific css selector bug, introduced in last version 221 * fixes removing elements other than sources 222 * fixes false milliseconds 223 224 = 2.0.15 = 225 * small fixes 226 * .htaccess examples added in /help 227 219 228 = 2.0.14 = 220 229 * style improvements … … 349 358 == Upgrade Notice == 350 359 360 = 2.0.16 = 361 fixes css, removing elements other than sources and false milliseconds bugs 362 363 = 2.0.15 = 364 small fixes and .htaccess examples added in /help 365 351 366 = 2.0.14 = 352 367 style improvements, wordpress twenty thirteen theme compatibility, Firefox AAC fix, XSS Firefox Bugfix -
podlove-web-player/tags/2.0.16/settings.php
r768229 r790562 240 240 $scriptname = explode('/wp-admin', $_SERVER["SCRIPT_FILENAME"]); 241 241 $dirname = explode('/wp-content', dirname(__FILE__)); 242 print '<p>This is <strong>Version 2.0.1 5</strong> of the <strong>Podlove Web Player</strong>.<br>242 print '<p>This is <strong>Version 2.0.16</strong> of the <strong>Podlove Web Player</strong>.<br> 243 243 The <strong>Including file</strong> is: <code>wp-admin'.$scriptname[1].'</code><br> 244 244 The <strong>PWP-directory</strong> is: <code>wp-content'.$dirname[1].'</code></p> -
podlove-web-player/tags/2.0.16/static/podlove-web-player.css
r768229 r790562 1 1 /* 2 2 * =========================================== 3 * Podlove Web Player v2.0.1 53 * Podlove Web Player v2.0.16 4 4 * Licensed under The BSD 2-Clause License 5 5 * http://opensource.org/licenses/BSD-2-Clause 6 6 * =========================================== 7 * Copyright (c) 2013, Gerrit van Aaken (https://github.com/gerritvanaaken/), Simon Waldherr (https://github.com/simonwaldherr/), Frank Hase (https://github.com/Kambfhase/), Eric Teubert (https://github.com/eteubert/) and others (https://github.com/podlove/podlove-web-player/contributors) 8 * All rights reserved. 9 * 10 * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 11 * 12 * - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 13 * - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 14 * 15 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 7 16 */ 8 17 … … 1002 1011 } 1003 1012 1004 *, *:before, *:after { 1005 -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; 1013 .podlovewebplayer_wrapper, 1014 .podlovewebplayer_wrapper *, 1015 .podlovewebplayer_wrapper *:before, 1016 .podlovewebplayer_wrapper *:after { 1017 -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; 1006 1018 } 1007 1019 … … 1437 1449 1438 1450 .podlovewebplayer_wrapper .mejs-container .mejs-inner .mejs-controls .mejs-time-rail .mejs-time-total .mejs-time-loaded { 1439 background: rgb(67,131,219);1440 background: -moz-linear-gradient(top, rgb(67,131,219) 0%, rgb(88,156,239)100%);1441 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgb(67,131,219)), color-stop(100%,rgb(88,156,239)));1442 background: -webkit-linear-gradient(top, rgb(67,131,219) 0%,rgb(88,156,239)100%);1443 background: -o-linear-gradient(top, rgb(67,131,219) 0%,rgb(88,156,239)100%);1444 background: -ms-linear-gradient(top, rgb(67,131,219) 0%,rgb(88,156,239)100%);1445 background: linear-gradient(to bottom, rgb(67,131,219) 0%,rgb(88,156,239)100%);1451 background: #11B5DB; 1452 background: -moz-linear-gradient(top, #11B5DB 0%, #589CEF 100%); 1453 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#11B5DB), color-stop(100%,#589CEF)); 1454 background: -webkit-linear-gradient(top, #11B5DB 0%,#589CEF 100%); 1455 background: -o-linear-gradient(top, #11B5DB 0%,#589CEF 100%); 1456 background: -ms-linear-gradient(top, #11B5DB 0%,#589CEF 100%); 1457 background: linear-gradient(to bottom, #11B5DB 0%,#589CEF 100%); 1446 1458 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc4383db', endColorstr='#cc589cef',GradientType=0 ); 1447 1459 } -
podlove-web-player/tags/2.0.16/static/podlove-web-player.js
r768229 r790562 1 1 /* 2 2 * =========================================== 3 * Podlove Web Player v2.0.1 53 * Podlove Web Player v2.0.16 4 4 * Licensed under The BSD 2-Clause License 5 5 * http://opensource.org/licenses/BSD-2-Clause 6 6 * =========================================== 7 * Copyright (c) 2013, Gerrit van Aaken (https://github.com/gerritvanaaken/), Simon Waldherr (https://github.com/simonwaldherr/), Frank Hase (https://github.com/Kambfhase/), Eric Teubert (https://github.com/eteubert/) and others (https://github.com/podlove/podlove-web-player/contributors) 8 * All rights reserved. 9 * 10 * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 11 * 12 * - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 13 * - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 14 * 15 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 7 16 */ 8 17 … … 251 260 part = zeroFill(minutes, 2) + ':' + zeroFill(seconds, 2); 252 261 hours = zeroFill(hours, 2); 253 hours = hours === '00' && !forceHours ? '' : hours + ':'; 254 milliseconds = milliseconds ? '.' + zeroFill(milliseconds, 3) : ''; 262 hours = hours === '00' && !forceHours ? '' : hours + ':'; 255 263 } else { 256 264 part = hours ? zeroFill(minutes, 2) : minutes.toString(); 257 265 part += ':' + zeroFill(seconds, 2); 258 266 hours = hours ? hours + ':' : ''; 259 milliseconds = milliseconds ? '.' + milliseconds : '';260 }267 } 268 milliseconds = milliseconds ? '.' + zeroFill(milliseconds, 3) : ''; 261 269 return hours + part + milliseconds; 262 270 } … … 585 593 if ($(this).attr('src')) { 586 594 $(this).removeAttr('src'); 587 } else {588 $(this).children( ).first().remove();595 } else if($(this).children('source').length) { 596 $(this).children('source').first().remove(); 589 597 } 590 598 }); -
podlove-web-player/trunk/podlove-web-player.php
r768229 r790562 2 2 /** 3 3 * @package PodloveWebPlayer 4 * @version 2.0.1 54 * @version 2.0.16 5 5 */ 6 6 … … 9 9 Plugin URI: http://podlove.org/podlove-web-player/ 10 10 Description: Video and audio plugin for WordPress built on the MediaElement.js HTML5 media player library. 11 Version: 2.0.1 511 Version: 2.0.16 12 12 Author: Podlove Team 13 13 Author URI: http://podlove.org/ … … 67 67 'podlovewebplayer', 68 68 plugins_url('static/podlove-web-player.js', __FILE__), 69 array(), '2.0.1 5', false69 array(), '2.0.16', false 70 70 ); 71 71 } … … 79 79 global $blog_id; 80 80 $wp_options = get_option('podlovewebplayer_options'); 81 wp_enqueue_style( 'pwpfont', plugins_url('static/podlove-web-player.css', __FILE__), array(), '2.0.1 5' );81 wp_enqueue_style( 'pwpfont', plugins_url('static/podlove-web-player.css', __FILE__), array(), '2.0.16' ); 82 82 } 83 83 add_action( 'wp_print_styles', 'podlovewebplayer_add_styles' ); -
podlove-web-player/trunk/readme.md
r768229 r790562 224 224 ## Changelog 225 225 226 ### 2.0.16 227 * fixes unspecific css selector bug, introduced in last version 228 * fixes removing elements other than sources 229 * fixes false milliseconds 230 231 ### 2.0.15 232 * small fixes 233 * .htaccess examples added in /help 234 226 235 ### 2.0.14 227 236 * style improvements … … 329 338 330 339 ### 1.2 331 * ** added:** Rich player with meta information (title, subtitle, summary, cover image)332 * ** added:** Opus audio codec support333 * ** added:** Chapter duration display334 * ** added:** Chapter deeplinking335 * ** added:** optional listening to WordPress enclosures340 * ** added:** Rich player with meta information (title, subtitle, summary, cover image) 341 * ** added:** Opus audio codec support 342 * ** added:** Chapter duration display 343 * ** added:** Chapter deeplinking 344 * ** added:** optional listening to WordPress enclosures 336 345 * new settings area 337 346 * fixed some issues with flash fallback … … 347 356 ### 1.1 348 357 * First proper release. 349 * ** [audio] and [video] are deprecated:** Use [podloveaudio] and [podlovevideo] instead!358 * ** [audio] and [video] are deprecated:** Use [podloveaudio] and [podlovevideo] instead! 350 359 * Implements W3C Media Fragements with start and end time 351 360 … … 356 365 ## Upgrade Notice 357 366 367 ### 2.0.16 368 * fixes css, removing elements other than sources and false milliseconds bugs 369 370 ### 2.0.15 371 small fixes and .htaccess examples added in /help 372 358 373 ### 2.0.14 359 374 style improvements, wordpress twenty thirteen theme compatibility, Firefox AAC fix, XSS Firefox Bugfix -
podlove-web-player/trunk/readme.txt
r767599 r790562 217 217 == Changelog == 218 218 219 = 2.0.16 220 * fixes unspecific css selector bug, introduced in last version 221 * fixes removing elements other than sources 222 * fixes false milliseconds 223 224 = 2.0.15 = 225 * small fixes 226 * .htaccess examples added in /help 227 219 228 = 2.0.14 = 220 229 * style improvements … … 349 358 == Upgrade Notice == 350 359 360 = 2.0.16 = 361 fixes css, removing elements other than sources and false milliseconds bugs 362 363 = 2.0.15 = 364 small fixes and .htaccess examples added in /help 365 351 366 = 2.0.14 = 352 367 style improvements, wordpress twenty thirteen theme compatibility, Firefox AAC fix, XSS Firefox Bugfix -
podlove-web-player/trunk/settings.php
r768229 r790562 240 240 $scriptname = explode('/wp-admin', $_SERVER["SCRIPT_FILENAME"]); 241 241 $dirname = explode('/wp-content', dirname(__FILE__)); 242 print '<p>This is <strong>Version 2.0.1 5</strong> of the <strong>Podlove Web Player</strong>.<br>242 print '<p>This is <strong>Version 2.0.16</strong> of the <strong>Podlove Web Player</strong>.<br> 243 243 The <strong>Including file</strong> is: <code>wp-admin'.$scriptname[1].'</code><br> 244 244 The <strong>PWP-directory</strong> is: <code>wp-content'.$dirname[1].'</code></p> -
podlove-web-player/trunk/static/podlove-web-player.css
r768229 r790562 1 1 /* 2 2 * =========================================== 3 * Podlove Web Player v2.0.1 53 * Podlove Web Player v2.0.16 4 4 * Licensed under The BSD 2-Clause License 5 5 * http://opensource.org/licenses/BSD-2-Clause 6 6 * =========================================== 7 * Copyright (c) 2013, Gerrit van Aaken (https://github.com/gerritvanaaken/), Simon Waldherr (https://github.com/simonwaldherr/), Frank Hase (https://github.com/Kambfhase/), Eric Teubert (https://github.com/eteubert/) and others (https://github.com/podlove/podlove-web-player/contributors) 8 * All rights reserved. 9 * 10 * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 11 * 12 * - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 13 * - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 14 * 15 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 7 16 */ 8 17 … … 1002 1011 } 1003 1012 1004 *, *:before, *:after { 1005 -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; 1013 .podlovewebplayer_wrapper, 1014 .podlovewebplayer_wrapper *, 1015 .podlovewebplayer_wrapper *:before, 1016 .podlovewebplayer_wrapper *:after { 1017 -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; 1006 1018 } 1007 1019 … … 1437 1449 1438 1450 .podlovewebplayer_wrapper .mejs-container .mejs-inner .mejs-controls .mejs-time-rail .mejs-time-total .mejs-time-loaded { 1439 background: rgb(67,131,219);1440 background: -moz-linear-gradient(top, rgb(67,131,219) 0%, rgb(88,156,239)100%);1441 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgb(67,131,219)), color-stop(100%,rgb(88,156,239)));1442 background: -webkit-linear-gradient(top, rgb(67,131,219) 0%,rgb(88,156,239)100%);1443 background: -o-linear-gradient(top, rgb(67,131,219) 0%,rgb(88,156,239)100%);1444 background: -ms-linear-gradient(top, rgb(67,131,219) 0%,rgb(88,156,239)100%);1445 background: linear-gradient(to bottom, rgb(67,131,219) 0%,rgb(88,156,239)100%);1451 background: #11B5DB; 1452 background: -moz-linear-gradient(top, #11B5DB 0%, #589CEF 100%); 1453 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#11B5DB), color-stop(100%,#589CEF)); 1454 background: -webkit-linear-gradient(top, #11B5DB 0%,#589CEF 100%); 1455 background: -o-linear-gradient(top, #11B5DB 0%,#589CEF 100%); 1456 background: -ms-linear-gradient(top, #11B5DB 0%,#589CEF 100%); 1457 background: linear-gradient(to bottom, #11B5DB 0%,#589CEF 100%); 1446 1458 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc4383db', endColorstr='#cc589cef',GradientType=0 ); 1447 1459 } -
podlove-web-player/trunk/static/podlove-web-player.js
r768229 r790562 1 1 /* 2 2 * =========================================== 3 * Podlove Web Player v2.0.1 53 * Podlove Web Player v2.0.16 4 4 * Licensed under The BSD 2-Clause License 5 5 * http://opensource.org/licenses/BSD-2-Clause 6 6 * =========================================== 7 * Copyright (c) 2013, Gerrit van Aaken (https://github.com/gerritvanaaken/), Simon Waldherr (https://github.com/simonwaldherr/), Frank Hase (https://github.com/Kambfhase/), Eric Teubert (https://github.com/eteubert/) and others (https://github.com/podlove/podlove-web-player/contributors) 8 * All rights reserved. 9 * 10 * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 11 * 12 * - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 13 * - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 14 * 15 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 7 16 */ 8 17 … … 251 260 part = zeroFill(minutes, 2) + ':' + zeroFill(seconds, 2); 252 261 hours = zeroFill(hours, 2); 253 hours = hours === '00' && !forceHours ? '' : hours + ':'; 254 milliseconds = milliseconds ? '.' + zeroFill(milliseconds, 3) : ''; 262 hours = hours === '00' && !forceHours ? '' : hours + ':'; 255 263 } else { 256 264 part = hours ? zeroFill(minutes, 2) : minutes.toString(); 257 265 part += ':' + zeroFill(seconds, 2); 258 266 hours = hours ? hours + ':' : ''; 259 milliseconds = milliseconds ? '.' + milliseconds : '';260 }267 } 268 milliseconds = milliseconds ? '.' + zeroFill(milliseconds, 3) : ''; 261 269 return hours + part + milliseconds; 262 270 } … … 585 593 if ($(this).attr('src')) { 586 594 $(this).removeAttr('src'); 587 } else {588 $(this).children( ).first().remove();595 } else if($(this).children('source').length) { 596 $(this).children('source').first().remove(); 589 597 } 590 598 });
Note: See TracChangeset
for help on using the changeset viewer.