Thank you for visiting and participating in the Video.js forums. We are currently moving the forums to Stack Overflow and GitHub Issues. If you have a question or need help with Video.js, please post your question on Stack Overflow and add the tag 'video.js'. If you've found a specific bug in Video.js, please submit it in the issues tracker.

You can read more about this move on the blog.

Javascript error in IE8

kyllingpost's Avatar


29 May, 2011 07:58 PM

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; Trident/4.0)
Timestamp: Sun, 29 May 2011 19:43:25 UTC

Message: Invalid argument.
Line: 716

Char: 7
Code: 0

Showing page 2 out of 2. View the first page

  1. 30 Posted by John Brackett on 12 Dec, 2012 01:25 AM

    John Brackett's Avatar

    Sent from my iPhone

  2. 31 Posted by Balaji on 28 Mar, 2013 11:04 AM

    Balaji's Avatar

    In the videojs javacript file search for"px" and replace it with'%') !== -1 ? initWidth : initWidth+"px";

    Similarly search for"px" and replace it with = initHeight.indexOf('%') !== -1 ? initHeight : initHeight+"px";

    I found the fix from Stackoverflow website -

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac


27 Nov, 2014 01:11 PM
25 Nov, 2014 05:34 PM
20 Nov, 2014 04:11 PM
19 Nov, 2014 10:05 PM
19 Nov, 2014 05:31 PM
18 Nov, 2014 09:51 PM