/    Sign up×
Community /Pin to ProfileBookmark

Is this video-js code correct?

I have video-js code on a web page like this:

[CODE]<video id=”video2″ class=”video-js vjs-default-skin” controls preload=”auto” width=”140″ height=”120″
poster=”/video/countdown.jpg” data-setup=”{}”>
<source src=”/video/vid1.mp4″ type=’video/mp4′ />
</video>[/CODE]

Do you see anything wrong with this code?

I have that code several times on the same page. It all plays successfully in Chrome, but in IE11 while a few players play their video(self-hosted),
I see this “The video player aborted due to corruption problem or because the video used features your browser did not support”

And in Firefox 37.0, I see this:
“A network error caused the video download to fail part-way”.

The code in the header is:

[CODE]<link href=”/video-js/video-js.css” rel=”stylesheet”>
<script src=”/video-js/video.js”></script>
<script>videojs.options.flash.swf = “/video-js/video-js.swf”</script>[/CODE]

I suspect something simple in the code is a bit off.

Do you know the solution? I look forward to any comments/insight/solutions.

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @chrisjchrisj spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.14,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...