File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 265265 this . defaultChapter = null ;
266266 }
267267
268- // Previous/Next buttons
269- // valid values of data-prevnext-unit are 'playlist' and 'chapter'; will also accept 'chapters'
270- if ( $ ( media ) . data ( 'prevnext-unit' ) === 'chapter' || $ ( media ) . data ( 'prevnext-unit' ) === 'chapters' ) {
271- this . prevNextUnit = 'chapter' ;
272- }
273- else if ( $ ( media ) . data ( 'prevnext-unit' ) === 'playlist' ) {
274- this . prevNextUnit = 'playlist' ;
275- }
276- else {
277- this . prevNextUnit = false ;
278- }
279-
280268 // Slower/Faster buttons
281269 // valid values of data-speed-icons are 'animals' (default) and 'arrows'
282270 // 'animals' uses turtle and rabbit; 'arrows' uses up/down arrows
Original file line number Diff line number Diff line change 265265 this . defaultChapter = null ;
266266 }
267267
268- // Previous/Next buttons
269- // valid values of data-prevnext-unit are 'playlist' and 'chapter'; will also accept 'chapters'
270- if ( $ ( media ) . data ( 'prevnext-unit' ) === 'chapter' || $ ( media ) . data ( 'prevnext-unit' ) === 'chapters' ) {
271- this . prevNextUnit = 'chapter' ;
272- }
273- else if ( $ ( media ) . data ( 'prevnext-unit' ) === 'playlist' ) {
274- this . prevNextUnit = 'playlist' ;
275- }
276- else {
277- this . prevNextUnit = false ;
278- }
279-
280268 // Slower/Faster buttons
281269 // valid values of data-speed-icons are 'animals' (default) and 'arrows'
282270 // 'animals' uses turtle and rabbit; 'arrows' uses up/down arrows
Original file line number Diff line number Diff line change 11{
22 "name" : " ableplayer" ,
3- "version" : " 4.0.06 " ,
3+ "version" : " 4.0.07 " ,
44 "description" : " fully accessible HTML5 media player" ,
55 "homepage" : " http://ableplayer.github.io/ableplayer" ,
66 "bugs" : " https://github.com/ableplayer/ableplayer/issues" ,
Original file line number Diff line number Diff line change 265265 this . defaultChapter = null ;
266266 }
267267
268- // Previous/Next buttons
269- // valid values of data-prevnext-unit are 'playlist' and 'chapter'; will also accept 'chapters'
270- if ( $ ( media ) . data ( 'prevnext-unit' ) === 'chapter' || $ ( media ) . data ( 'prevnext-unit' ) === 'chapters' ) {
271- this . prevNextUnit = 'chapter' ;
272- }
273- else if ( $ ( media ) . data ( 'prevnext-unit' ) === 'playlist' ) {
274- this . prevNextUnit = 'playlist' ;
275- }
276- else {
277- this . prevNextUnit = false ;
278- }
279-
280268 // Slower/Faster buttons
281269 // valid values of data-speed-icons are 'animals' (default) and 'arrows'
282270 // 'animals' uses turtle and rabbit; 'arrows' uses up/down arrows
You can’t perform that action at this time.
0 commit comments