-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev Vs Prod #1491
Comments
Looks like a minification issue with videojs. |
Thank you for the update. Just checked it now with 4.8.5, and it's not fixed, IE 10 error: Object doesn't support property or method 'Da'. |
I'm actually getting an error from videojs-youtube now. Looks like the used the |
Oh, never mind, most-up-to-date version of videojs-youtube supports it. |
Grabbing vjs 4.8.5 and the latest videojs-youtube works for me: http://jsbin.com/bahahododewi/1/edit |
@tomul can you retest with the latest versions of videojs and the youtube plugin? Thanks! |
@gkatsev I tested with your example (http://jsbin.com/bahahododewi/1/edit), using the Windows 7 image from Modern.ie, and i'm still getting the same error, when trying to go fullscreen. |
What version of IE? |
IE 10, sorry for not mentioning it in the other comment. |
Confirmed with IE 10 + Videojs 4.9 and the src from master of the YT tech. |
To weigh in on this, I've had a similar issue with the |
|
The videojs_rails gem used to use the dev version of video JS in 4.6.1, 4.6.4 changed to use the minified version. We’re having problems running the minified version on FutureLearn.com against our plugins, particularly one that adds a button to the control bar. It seems that it’s an ongoing problem in the video js project that the minified version doesn’t correctly expose all the expected APIs that plugins need and use[1][2]. We haven’t been able to confirm what API method is unavailable- it looks to be something around overriding behaviour of elements. There were no errors in the console so it was hard to pin down what is wrong. We’ve tried other plugins that add buttons that are listed on the video js project (such as the loop button[3]) and have had the same problem. We feel that using the dev version is the easiest way to work around this problem until video js improves their minification process[1] and we don’t lose much since most rails projects will be using the asset pipeline to perform minification. [1] videojs/video.js#1586 [2] videojs/video.js#1491 [3] https://github.com/CharlotteDunois/videojs-loopbutton
Hi, we have a similar issue with our videojs tech plugin ( it's a plugin to integrate peer-to-peer video streaming, you can see it working here: http://www.streamroot.io/demo?url=http%3A%2F%2Fakamai.streamroot.edgesuite.net%2Fvodorigin%2Ftos.mp4%2Fmanifest.mpd ) The issue is that you can't really create a Tech with the videoJS plugin API, and so all the other techs seem to only work with the unminified dev version of videojs, and crash with the minified version. I am not sure the issue is exactly the same, or if I should open another issue concerning custom techs creation and videojs minifying ? |
@rodincave we'll be addressing this to some degree in 5.0, by not mangling object properties. Otherwise we would need to get more specific about which APIs are needed and not available in the minified version. |
Thanks, I'll have to recheck the error to confirm this, but from our code I would say that what we are missing is the access to MediaTechController. you can take a look at our tech provider here: |
Hi, have the same issue with minified videojs version.
Referencing to the |
Now that we've moved away from Closure Compiler (#1586) this shouldn't be an issue in Master. |
Hi,
I'm trying to use videojs 4.7 with support for youtube (https://github.com/eXon/videojs-youtube). While using the development version of videojs (video.dev.js), it works, but if i use the minified (video.js) version it breaks in IE10 (windows 7) for a youtube video, when clicking the fullscreen button. The tech has the required methods, but
supportsFullScreen()
is never called. Instead it just throws an error: Object doesn't support property or method 'Ea'. If i add a method `videojs.Youtube.prototype.Ea= function() {return false;
};`` it works, but i don't think this should be the fix. Using videojs 4.8, with the proper modifications for videojs-youtube, doesn't fix it, the same error is shown.
Please check: http://jsbin.com/waliv/1/edit
Thank you
The text was updated successfully, but these errors were encountered: