JW Player Error loading media: File could not be played
We ran into a very strange problem with JW Player and really don't know an approach to solve it.
JW Player shows the error:
Error loading media: File could not be played
sporadically across all browsers and platforms (sometimes it shows up and sometimes not). It took me over 30 reloads to get it and some of my colleagues got it with their first try. It's behavior is very inconsistent and kind of random.
We're using FirstSpirit as CMS on an Apache Tomcat instance running on Windows server. The problem occurred on Chrome, IE and Firefox across all versions.
The MIME types of all videos are correct as their codecs are. If supported, JW Player is running in HTML5 mode. We use Flash only for older browsers (IE8 groan).
I would appreciate any help. Thanks!
Marcus
UPDATE:
Example page with video box on the right side. Example page with video
UPDATE:
We updated the version as Ethan from JW Player suggested, but it's still not working properly.
javascript html5 jwplayer jwplayer6
|
show 9 more comments
We ran into a very strange problem with JW Player and really don't know an approach to solve it.
JW Player shows the error:
Error loading media: File could not be played
sporadically across all browsers and platforms (sometimes it shows up and sometimes not). It took me over 30 reloads to get it and some of my colleagues got it with their first try. It's behavior is very inconsistent and kind of random.
We're using FirstSpirit as CMS on an Apache Tomcat instance running on Windows server. The problem occurred on Chrome, IE and Firefox across all versions.
The MIME types of all videos are correct as their codecs are. If supported, JW Player is running in HTML5 mode. We use Flash only for older browsers (IE8 groan).
I would appreciate any help. Thanks!
Marcus
UPDATE:
Example page with video box on the right side. Example page with video
UPDATE:
We updated the version as Ethan from JW Player suggested, but it's still not working properly.
javascript html5 jwplayer jwplayer6
A link to your site would help. Sounds like a basic server problem, however, or some sort of timing issue with the CMS.
– MisterNeutron
Jun 8 '15 at 22:27
Added a link in my question
– Marcus Rommel
Jun 8 '15 at 22:50
For 2nd try it started for me. (It's about the assembly of an engine.) In another private window it did not start...
– Gábor Imre
Jun 9 '15 at 0:00
1
I would advise upgrading from 6.3 to 6.12 - account.jwplayer.com
– emaxsaun
Jun 9 '15 at 14:45
Hello Ethan. We updated our version but the error is still occurring. Any suggestions?
– Marcus Rommel
Jun 10 '15 at 15:51
|
show 9 more comments
We ran into a very strange problem with JW Player and really don't know an approach to solve it.
JW Player shows the error:
Error loading media: File could not be played
sporadically across all browsers and platforms (sometimes it shows up and sometimes not). It took me over 30 reloads to get it and some of my colleagues got it with their first try. It's behavior is very inconsistent and kind of random.
We're using FirstSpirit as CMS on an Apache Tomcat instance running on Windows server. The problem occurred on Chrome, IE and Firefox across all versions.
The MIME types of all videos are correct as their codecs are. If supported, JW Player is running in HTML5 mode. We use Flash only for older browsers (IE8 groan).
I would appreciate any help. Thanks!
Marcus
UPDATE:
Example page with video box on the right side. Example page with video
UPDATE:
We updated the version as Ethan from JW Player suggested, but it's still not working properly.
javascript html5 jwplayer jwplayer6
We ran into a very strange problem with JW Player and really don't know an approach to solve it.
JW Player shows the error:
Error loading media: File could not be played
sporadically across all browsers and platforms (sometimes it shows up and sometimes not). It took me over 30 reloads to get it and some of my colleagues got it with their first try. It's behavior is very inconsistent and kind of random.
We're using FirstSpirit as CMS on an Apache Tomcat instance running on Windows server. The problem occurred on Chrome, IE and Firefox across all versions.
The MIME types of all videos are correct as their codecs are. If supported, JW Player is running in HTML5 mode. We use Flash only for older browsers (IE8 groan).
I would appreciate any help. Thanks!
Marcus
UPDATE:
Example page with video box on the right side. Example page with video
UPDATE:
We updated the version as Ethan from JW Player suggested, but it's still not working properly.
javascript html5 jwplayer jwplayer6
javascript html5 jwplayer jwplayer6
edited Jun 26 '18 at 7:40
user7637745
1,91121024
1,91121024
asked Jun 8 '15 at 21:33
Marcus RommelMarcus Rommel
86011017
86011017
A link to your site would help. Sounds like a basic server problem, however, or some sort of timing issue with the CMS.
– MisterNeutron
Jun 8 '15 at 22:27
Added a link in my question
– Marcus Rommel
Jun 8 '15 at 22:50
For 2nd try it started for me. (It's about the assembly of an engine.) In another private window it did not start...
– Gábor Imre
Jun 9 '15 at 0:00
1
I would advise upgrading from 6.3 to 6.12 - account.jwplayer.com
– emaxsaun
Jun 9 '15 at 14:45
Hello Ethan. We updated our version but the error is still occurring. Any suggestions?
– Marcus Rommel
Jun 10 '15 at 15:51
|
show 9 more comments
A link to your site would help. Sounds like a basic server problem, however, or some sort of timing issue with the CMS.
– MisterNeutron
Jun 8 '15 at 22:27
Added a link in my question
– Marcus Rommel
Jun 8 '15 at 22:50
For 2nd try it started for me. (It's about the assembly of an engine.) In another private window it did not start...
– Gábor Imre
Jun 9 '15 at 0:00
1
I would advise upgrading from 6.3 to 6.12 - account.jwplayer.com
– emaxsaun
Jun 9 '15 at 14:45
Hello Ethan. We updated our version but the error is still occurring. Any suggestions?
– Marcus Rommel
Jun 10 '15 at 15:51
A link to your site would help. Sounds like a basic server problem, however, or some sort of timing issue with the CMS.
– MisterNeutron
Jun 8 '15 at 22:27
A link to your site would help. Sounds like a basic server problem, however, or some sort of timing issue with the CMS.
– MisterNeutron
Jun 8 '15 at 22:27
Added a link in my question
– Marcus Rommel
Jun 8 '15 at 22:50
Added a link in my question
– Marcus Rommel
Jun 8 '15 at 22:50
For 2nd try it started for me. (It's about the assembly of an engine.) In another private window it did not start...
– Gábor Imre
Jun 9 '15 at 0:00
For 2nd try it started for me. (It's about the assembly of an engine.) In another private window it did not start...
– Gábor Imre
Jun 9 '15 at 0:00
1
1
I would advise upgrading from 6.3 to 6.12 - account.jwplayer.com
– emaxsaun
Jun 9 '15 at 14:45
I would advise upgrading from 6.3 to 6.12 - account.jwplayer.com
– emaxsaun
Jun 9 '15 at 14:45
Hello Ethan. We updated our version but the error is still occurring. Any suggestions?
– Marcus Rommel
Jun 10 '15 at 15:51
Hello Ethan. We updated our version but the error is still occurring. Any suggestions?
– Marcus Rommel
Jun 10 '15 at 15:51
|
show 9 more comments
1 Answer
1
active
oldest
votes
I would suggest to encode the video in .mp4 and .ogg. (MP4 is supported in Safari and IE9, Ogg in Firefox, Chrome and Opera and as you mentioned IE6-8 uses flash only). Thus your video element will look something like:
<video width="300" controls>
<source src="my_video.ogg" type="video/ogg">
<source src="my_video.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
This will ensure that the video will be played if the browser support HTML5. I hope this helps
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f30719487%2fjw-player-error-loading-media-file-could-not-be-played%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I would suggest to encode the video in .mp4 and .ogg. (MP4 is supported in Safari and IE9, Ogg in Firefox, Chrome and Opera and as you mentioned IE6-8 uses flash only). Thus your video element will look something like:
<video width="300" controls>
<source src="my_video.ogg" type="video/ogg">
<source src="my_video.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
This will ensure that the video will be played if the browser support HTML5. I hope this helps
add a comment |
I would suggest to encode the video in .mp4 and .ogg. (MP4 is supported in Safari and IE9, Ogg in Firefox, Chrome and Opera and as you mentioned IE6-8 uses flash only). Thus your video element will look something like:
<video width="300" controls>
<source src="my_video.ogg" type="video/ogg">
<source src="my_video.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
This will ensure that the video will be played if the browser support HTML5. I hope this helps
add a comment |
I would suggest to encode the video in .mp4 and .ogg. (MP4 is supported in Safari and IE9, Ogg in Firefox, Chrome and Opera and as you mentioned IE6-8 uses flash only). Thus your video element will look something like:
<video width="300" controls>
<source src="my_video.ogg" type="video/ogg">
<source src="my_video.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
This will ensure that the video will be played if the browser support HTML5. I hope this helps
I would suggest to encode the video in .mp4 and .ogg. (MP4 is supported in Safari and IE9, Ogg in Firefox, Chrome and Opera and as you mentioned IE6-8 uses flash only). Thus your video element will look something like:
<video width="300" controls>
<source src="my_video.ogg" type="video/ogg">
<source src="my_video.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
This will ensure that the video will be played if the browser support HTML5. I hope this helps
answered Aug 24 '18 at 14:53
Svetoslav PetrovSvetoslav Petrov
435419
435419
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f30719487%2fjw-player-error-loading-media-file-could-not-be-played%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
A link to your site would help. Sounds like a basic server problem, however, or some sort of timing issue with the CMS.
– MisterNeutron
Jun 8 '15 at 22:27
Added a link in my question
– Marcus Rommel
Jun 8 '15 at 22:50
For 2nd try it started for me. (It's about the assembly of an engine.) In another private window it did not start...
– Gábor Imre
Jun 9 '15 at 0:00
1
I would advise upgrading from 6.3 to 6.12 - account.jwplayer.com
– emaxsaun
Jun 9 '15 at 14:45
Hello Ethan. We updated our version but the error is still occurring. Any suggestions?
– Marcus Rommel
Jun 10 '15 at 15:51