Giter VIP home page Giter VIP logo

Comments (11)

ctd1500 avatar ctd1500 commented on June 2, 2024

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.

surikat1978 avatar surikat1978 commented on June 2, 2024

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.

ctd1500 avatar ctd1500 commented on June 2, 2024

https://kb.mailster.co/how-can-i-open-the-browsers-console/
Gives key combinations for each browser.

from videojs-hotkeys.

surikat1978 avatar surikat1978 commented on June 2, 2024

@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.

ctd1500 avatar ctd1500 commented on June 2, 2024

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.

surikat1978 avatar surikat1978 commented on June 2, 2024

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.

surikat1978 avatar surikat1978 commented on June 2, 2024

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.

ctd1500 avatar ctd1500 commented on June 2, 2024

That seems to be a DOM issue where video.js can't find a '#2sub' element in your page.

from videojs-hotkeys.

surikat1978 avatar surikat1978 commented on June 2, 2024

Why on version 5 finds? It can not be!

from videojs-hotkeys.

ctd1500 avatar ctd1500 commented on June 2, 2024

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.

surikat1978 avatar surikat1978 commented on June 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.