NOTICE: FORUMS MOVING

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

kyllingpost

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
URI: http://10.0.0.9/javascript/video-js/video.js

Showing the most recent page of comments. View the first page

  1. 32 Posted by Balaji on 28 Mar, 2013 11:04 AM

    Balaji's Avatar

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

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

    I found the fix from Stackoverflow website - http://stackoverflow.com/questions/14603787/video-js-for-wordpress-...

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

Generic

? 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

Recent Discussions

28 Aug, 2014 02:45 PM
28 Aug, 2014 06:33 AM
27 Aug, 2014 07:37 AM
17 Aug, 2014 12:53 AM
11 Aug, 2014 05:23 PM