JW Player Error loading media: File could not be played












14















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.










share|improve this question

























  • 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
















14















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.










share|improve this question

























  • 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














14












14








14


1






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.










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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



















  • 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












1 Answer
1






active

oldest

votes


















0














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






share|improve this answer























    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    0














    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






    share|improve this answer




























      0














      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






      share|improve this answer


























        0












        0








        0







        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






        share|improve this answer













        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







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 24 '18 at 14:53









        Svetoslav PetrovSvetoslav Petrov

        435419




        435419






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Contact image not getting when fetch all contact list from iPhone by CNContact

            count number of partitions of a set with n elements into k subsets

            A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks