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

04 Dec, 2014 02:39 AM
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
11 Nov, 2014 05:05 PM
01 Nov, 2014 08:38 PM
31 Oct, 2014 04:51 PM
14 Oct, 2014 02:11 PM