on-internet
← Community

Changing video resolution on HTML 5.0 video with JavaScript

Stack Overflow ·

UPDATE: I was using the Fotorama plugin and it seems that the bottom menu was causing the problem. Disabling that menu by putting div-tags around the video-tags made the function for setting resolution work. Thanks for the help and encouragement. For the bottom menu I create a simple one using link buttons that link to a similar page with the next video. I have written JavaScript code that changes the resolution of a video based on input of a option/select-element. It works. The problem is that it stops working when I put exactly the same code inside a function (so that the code can be execute

Comments

Sign in or sign up to comment and upvote.

No comments yet.