Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

chrome- status cancelled on network dev tools when playing html5 video

I have a problem in loading a webpage that has a html5 video element in it that runs into a weird problem in chrome. I say it is weird because the behavior is inconsistent.

here is a screenshot to explain my problem...

enter image description here

this is the side by side comparison of the same page when opened in firefox and chrome. The firefox loads the page as it should but chrome does not load the video when play is clicked. Even IE 11 had no issues in loading the video.

Now let me specify the environment where the problem occurs as well. The whole application is hosted on IHS/ Websphere (test environment-although WAS does all the job- not under my control). The link is,

http://wwwtest.courts.mo.gov/civiceducation/pages/const_proj_home.html

I do have another environment where the site is hosted by tomcat where there is no problem at all no matter what browser is used. The link to that page (the exact page under review) is,

http://www.courts.mo.gov/civiceducation/pages/const_proj_home.html

I would appreciate if someone would help me in understanding what is causing this issue or why. Thanks in advance

UPDATE::: durin my research i found this SO post What does status=canceled for a resource mean in Chrome Developer Tools? and found this link which says that it is a chrome bug issue dated april 2013 http://wwwtest.courts.mo.gov/civiceducation/pages/const_proj_home.html but then why does chrome load the videos when a different webserver(tomcat) is used?

UPDATE #2 ::::

i was able to isolate the problem just to mp4 files.In my section of code that handled the video, I flipped the source tags that pointed to mp4 and webm such that the webm is now listed first...

<video id="video1" width="850" height="530" poster="../snapshot/constitution_project_home_video_fullsize.png" controls="controls" preload="none" style="display:none;">
       <source src="../Media/video/webm/const_proj_welcomevideo.webm" type="video/webm" />
       <source type="video/mp4" src="../Media/video/mp4/const_proj_welcomevideo.mp4" />
       If you are seeing this, then your browser does not support the video element. You are using an <strong>outdated</strong> browser. Please upgrade your browser to improve your experience.
</video>

Now the page load works just fine.

Even though this solved my original problem, I would still like to know what is causing this issue.

UPDATE #3::: Disregard update#2

I thought that the problem was solved but over the weekend I did not test it and now even webm files are not working. Its cancelling the request again. Only when I have websphere as my app server. Hence in am adding the tag "Websphere" back into the mix. Here is a screenshot now...

enter image description here

And here is the comparison screenshot between tomcat server and WAS 8.5 side by side on chrome

enter image description here

I am running out of ideas as my requirement going forward is that the content is going to be hosted on the Websphere server. Any help is greatly appreciated. Thanks

like image 565
Sai Avatar asked Oct 10 '14 15:10

Sai


1 Answers

After researching through a lot of materials thats is available online , the bug report from google for chromium etc, I still was not able to understand what was causing the myriad of inconsistent behavior( some videos worked sometimes- Cached maybe?). But I also found out that the version of chrome that I was using were 32 and 34 respectively on 2 test machines. My workplace network policy also prohibited chrome from updating itself automatically.

Hence I performed a manual update on one of my systems ?(v32 to v38) and after that update things started working the way it was supposed to. I updated my other system as well after that and it worked again.

So I dont know if I can post this as an answer here but to me it is now confirmed that it was a chrome bug that was causing the inconsistent behavior. And simply updating the browser (uninstall/re-install) worked as a solution.

I apologize to those who came here looking for a full fledged solution to this problem only to come here and find out that they have to just update the browser.

And last but not the least-- A BIG THANKS to all to who took time to even read and respond to my issue.

like image 72
Sai Avatar answered Oct 20 '22 01:10

Sai