Firefox spews AbortError when scrubbing video (example code)
Recent versions of Firefox continuously spew the following message in the console while scrubbing video:
AbortError: The operation was aborted.
This occurs while dragging the progress bar handle along the progress bar in a video element.
Example code follows. After video loads, move the progress bar handle and observe the errors in the console.
<title>Video.js example</title> <meta charset="UTF-8"> <link href="http://vjs.zencdn.net/7.1.0/video-js.min.css" rel="stylesheet"> <script src="http://vjs.zencdn.net/7.1.0/video.min.js"></script>
Recent versions of Firefox continuously spew the following message in the console while scrubbing video:
AbortError: The operation was aborted.
This occurs while dragging the progress bar handle along the progress bar in a video element.
Example code follows. After video loads, move the progress bar handle and observe the errors in the console.
<!DOCTYPE html>
<html>
<head>
<title>Video.js example</title>
<meta charset='UTF-8'>
<link href="http://vjs.zencdn.net/7.1.0/video-js.min.css" rel="stylesheet">
<script src="http://vjs.zencdn.net/7.1.0/video.min.js"></script>
</head>
<body>
<video id="videojs_example" class="video-js vjs-default-skin"
controls preload="auto" width=640 height=360
data-setup='{ "example_option": true, "controlBar": { "volumePanel": { "inline": false }} }'>
<source src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
type="video/mp4">
</video>
</body>
</html>
Alle svar (1)
The code:
<!DOCTYPE html> <html> <head> <title>Video.js example</title> <meta charset='UTF-8'> <link href="http://vjs.zencdn.net/7.1.0/video-js.min.css" rel="stylesheet"> <script src="http://vjs.zencdn.net/7.1.0/video.min.js"></script> </head> <body> <video id="videojs_example" class="video-js vjs-default-skin" controls preload="auto" width=640 height=360 data-setup='{ "example_option": true, "controlBar": { "volumePanel": { "inline": false }} }'> <source src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" type="video/mp4"> </video> </body> </html>