Comments (11)
I've tested in multiple browsers across OS's and video.js versions and it's worked fine for me.
I even just tried with those listed versions of video.js.
The only thing that changed in this version is a simple version check to fix a fullscreen bug.
Are there any errors in your browser console or anything?
from videojs-hotkeys.
If I knew where to look for these errors? I tested for two hours and nothing .. I had to roll back to the old version 5.20.5
I will try to find something...
from videojs-hotkeys.
https://kb.mailster.co/how-can-i-open-the-browsers-console/
Gives key combinations for each browser.
from videojs-hotkeys.
@ctd1500
I know how to open the console! Which tab to look for an error? Where and what should be copied to transfer here?
from videojs-hotkeys.
The Console tab would have any errors if they exist.
Any possible errors/warnings that say they are from "videojs.hotkeys.js" or "videojs.hotkeys.min.js" on the right side of the console.
from videojs-hotkeys.
1055-maze-runner-the-death-cure-beguschiy-v-labirinte-lekarstvo-ot-smerti-2018.html:256 Uncaught ReferenceError: VK is not defined
at 1055-maze-runner-the-death-cure-beguschiy-v-labirinte-lekarstvo-ot-smerti-2018.html:256
video.min.js:12 Uncaught DOMException: Failed to execute 'querySelector' on 'Document': '#2sub' is not a valid selector.
at http://site.ru/engine/editor/scripts/common/2sub/video.min.js:12:4049
at Function.da.getPlayer (http://site.ru/engine/editor/scripts/common/2sub/video.min.js:12:205098)
at da (http://site.ru/engine/editor/scripts/common/2sub/video.min.js:12:203541)
at http://site.ru/action/1055-maze-runner-the-death-cure-beguschiy-v-labirinte-lekarstvo-ot-smerti-2018.html:573:1
video.min.js:12 Uncaught DOMException: Failed to execute 'querySelector' on 'Document': '#2sub' is not a valid selector.
at http://site.ru/engine/editor/scripts/common/2sub/video.min.js:12:4049
at Function.da.getPlayer (http://site.ru/engine/editor/scripts/common/2sub/video.min.js:12:205098)
at da (http://site.ru/engine/editor/scripts/common/2sub/video.min.js:12:203541)
at HTMLDocument. (http://site.ru/templates/megatube/js/libs.js:105:14)
at i (http://site.ru/engine/classes/js/jquery.js?v=23:2:27151)
at Object.fireWith [as resolveWith] (http://site.ru/engine/classes/js/jquery.js?v=23:2:27914)
at Function.ready (http://site.ru/engine/classes/js/jquery.js?v=23:2:29707)
at HTMLDocument.J (http://site.ru/engine/classes/js/jquery.js?v=23:2:29892)
from videojs-hotkeys.
There are no special errors for the file. On the fifth version it works, but does not want the rest.
Into js/libs.js in templates is it :
$(document).ready(function() {
videojs('2sub').ready(function() {
this.hotkeys({
volumeStep: 0.1,
seekStep: 5,
enableMute: true,
enableVolumeScroll: true,
enableFullscreen: true,
enableNumbers: true,
});
});
})
from videojs-hotkeys.
That seems to be a DOM issue where video.js can't find a '#2sub' element in your page.
from videojs-hotkeys.
Why on version 5 finds? It can not be!
from videojs-hotkeys.
I don't know what to tell you, it says it right there:
video.min.js:12 Uncaught DOMException: Failed to execute 'querySelector' on 'Document': '#2sub' is not a valid selector.
Which is triggered by line 573 of your page.
from videojs-hotkeys.
573 line it is <script src="{THEME}/js/libs.js"></script>
included to main.tpl of templates.
And it is written there without any changes.
$(document).ready(function() {
videojs('2sub').ready(function() {
And etc... I do not understand what could be the problem for the new version of the player ..?
I'm Very Sorry! Will try to find what is happening. Thanks!
from videojs-hotkeys.
Related Issues (20)
- default page scroll not working HOT 7
- Bug when clicking on pause HOT 3
- Ads/Ima Support HOT 1
- example.html does not work HOT 2
- Not working in new Chrome 69 HOT 2
- The play() request was interrupted by a call to pause().
- Double click fullscreen broken in Safari HOT 1
- Can't resolve 'videojs' in '0.2.25@videojs-hotkeys' HOT 1
- alwaysCaptureHotkeys bug HOT 1
- Not working
- this.hotkeys is not a function HOT 17
- use videojs-hotkeys in Angular HOT 2
- Add PictureInPicture hotkey Option
- hotkeys break Media Play Pause key HOT 1
- Uncaught error when pressing fullscreen shortcut with captureDocumentHotkeys set to true and video player focused HOT 1
- Doesn't work with the latest video.js (export/import issue) HOT 2
- [bug] Spacebar hotkey only works every other time hotkeys() is called HOT 3
- Is there a way to enable disable de plugin?
- `videojs.mergeOptions` is deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from videojs-hotkeys.