Do I have these instructions/code correct?

I was instructed to “find a line that specifies where that video-js.swf file is located”(within the video-js file).
So, I searched for “swf” and the only line I see is:
“GENERATED_CDN_VSN” !== t.ic && (videojs.options.flash.swf = t.vd + “vjs.zencdn.net/” + t.ic + “/video-js.swf”);

Then I was instructed to:
"locate the .swf file and change that code to:
video.js.options.flash.swf={{path to that .swf}}

I changed that line to:
“GENERATED_CDN_VSN”!==t.ic&&(video.js.options.flash.swf={{http://www…com/video-js-4.12.5/video-js/video-js.swf file}}");

(with the full domain name path included, of course), then uploaded that /video.js file back into the video-js folder, cleared my cache, but that didn’t remedy the issue of the video-js player appearing in IE8. Which was the reason for the instructions.
I’m assuming the person instructing knows what he’s talking about, but my question is, do you think I interpreted, and completed, the instructions correctly? If not, maybe you can make a suggestion as to what to change in the JavaScript (or other insight). Any help will be appreciated.

I suspect - based solely on your brief description and an intuition from looking at the code - you should not have included the ‘curly-braces’.

It appears they were used, in the instructions, to represent the path-and-filename.

Try this instead:

“GENERATED_CDN_VSN”!==t.ic&&(video.js.options.flash.swf=“http://ACTUAL_DOMAIN_OF_COURSE/video-js-4.12.5/video-js/video-js.swf”);

Thanks for your reply. Yes, I tried that without success. Any other ideas will be welcomed.

Got it. Thanks again

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.