Bug fix for no buffer
This commit is contained in:
		
							
								
								
									
										2
									
								
								dist/plyr.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/plyr.css
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								dist/plyr.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/plyr.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@ -654,7 +654,7 @@ Some more details on the object parameters
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Events
 | 
					## Events
 | 
				
			||||||
 | 
					
 | 
				
			||||||
You can listen for events on the element you setup Plyr on. Some events only apply to HTML5 audio and video.
 | 
					You can listen for events on the target element you setup Plyr on (see example under the table). Some events only apply to HTML5 audio and video.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<table class="table" width="100%">
 | 
					<table class="table" width="100%">
 | 
				
			||||||
  <thead>
 | 
					  <thead>
 | 
				
			||||||
 | 
				
			|||||||
@ -2245,10 +2245,15 @@
 | 
				
			|||||||
            if (typeof value === 'undefined') {
 | 
					            if (typeof value === 'undefined') {
 | 
				
			||||||
                value = 0;
 | 
					                value = 0;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            // Default to buffer
 | 
					            // Default to buffer or bail
 | 
				
			||||||
            if (typeof progress === 'undefined') {
 | 
					            if (typeof progress === 'undefined') {
 | 
				
			||||||
 | 
					                if (plyr.progress && plyr.progress.buffer) {
 | 
				
			||||||
                    progress = plyr.progress.buffer;
 | 
					                    progress = plyr.progress.buffer;
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
					                else {
 | 
				
			||||||
 | 
					                    return;
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            // One progress element passed
 | 
					            // One progress element passed
 | 
				
			||||||
            if (progress instanceof HTMLElement) {
 | 
					            if (progress instanceof HTMLElement) {
 | 
				
			||||||
 | 
				
			|||||||
@ -375,7 +375,7 @@
 | 
				
			|||||||
    border-radius: 100%;
 | 
					    border-radius: 100%;
 | 
				
			||||||
    box-shadow: 0 1px 1px fade(@plyr-video-controls-bg, 15%);
 | 
					    box-shadow: 0 1px 1px fade(@plyr-video-controls-bg, 15%);
 | 
				
			||||||
    color: @plyr-video-control-color;
 | 
					    color: @plyr-video-control-color;
 | 
				
			||||||
    transition: opacity .3s ease, visibility .3s ease;
 | 
					    transition: all .3s ease;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    svg {
 | 
					    svg {
 | 
				
			||||||
        position: relative;
 | 
					        position: relative;
 | 
				
			||||||
 | 
				
			|||||||
@ -374,7 +374,7 @@
 | 
				
			|||||||
    border-radius: 100%;
 | 
					    border-radius: 100%;
 | 
				
			||||||
    box-shadow: 0 1px 1px transparentize($plyr-video-controls-bg, .85);
 | 
					    box-shadow: 0 1px 1px transparentize($plyr-video-controls-bg, .85);
 | 
				
			||||||
    color: $plyr-video-control-color;
 | 
					    color: $plyr-video-control-color;
 | 
				
			||||||
    transition: opacity .3s ease, visibility .3s ease;
 | 
					    transition: all .3s ease;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    svg {
 | 
					    svg {
 | 
				
			||||||
        position: relative;
 | 
					        position: relative;
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user