Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8775401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T18:47:27+00:00 2026-06-13T18:47:27+00:00

I want to have a static mp4 video file in my Google App Engine

  • 0

I want to have a static mp4 video file in my Google App Engine application. I put it in the “war” folder and I add the following lines to my appengine-web.xml file:

  <static-files>
      <include path="/**.mp4" />
  </static-files>

Unfortunately, when I run the app and type in the video’s URL into my browser, nothing really happens. I just get a blank page or the previous page stays unchanged, if there was any. I don’t get a 404 error. Server log is clear. I would expect the browser to play the video or download it. Why is it not working?

The video file I’m using is 6.35MB.

I also tested some other small video files I downloaded from the internet and I made sure my browser was playing them when they were on their original servers. They didn’t work as well.

I uploaded mp3 files, as well as flv video files and they worked just fine. The mp3 file was played by the browser and the flv file was downloaded by it.

The question is once again, why can’t I have a static mp4 file in my Google App Engine application? Are they forbidden? Are my files corrupt in some way? Am I doing something wrong?

EDIT:
When writing this question, I only used Google Chrome to test if the uploaded video works. I just checked other browsers (Firefox, Opera, Internet Explorer) and everything seems to be fine. I was also able do download the video file with curl. It turns out that the problem only exists in Google Chrome. When I open it’s developer tool (F12) and go to the Network tab, I can see that the request’s status is “(cancelled)”.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T18:47:28+00:00Added an answer on June 13, 2026 at 6:47 pm

    The Google Chrome developer tool (F12) showed in the Network tab, that the response’s MIME type is application/octet-stream. I was wondering if this could be the reason why Chrome couldn’t interpret it correctly and cancelled it.

    I added the following lines to my web.xml file, to make sure my video file has a correct MIME type set:

    <mime-mapping>
        <extension>mp4</extension>
        <mime-type>video/mp4</mime-type>
    </mime-mapping>
    

    Everything works fine now.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a static csv file. I want to covert all the data in
I have a standard node.js static file server that I want to use to
I have video files (mp4's as I want people to be able to view
I want to have a static function which I declare in my .c file
This has defeated me. I want to have a static class variable which is
I have a static front page in Wordpress and I want to use a
I have a static class in a shared project, which I want to extend
I have a static variable partner in the class. And I want to set
I have these six static divs in my page and I want to create
I have created a public static class utils.cs I want to use it in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.