Videos Downloading

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
DaleFranks
Jr. Propeller Head
Posts: 8
Joined: Fri Jun 12, 2015 12:56 pm

Videos Downloading

Post by DaleFranks »

We have some MP4 videos we want to use in our product. The videos, however, try to automatically download as files when the page opens. I have inserted them into the page with the Flare UI, which results in the following HTML:

Code: Select all

<div class="video-wrapper">
    <object src="Resources/Multimedia/config eform.mp4" MadCap:Param_autoplay="false" style="border-left-style: solid;border-left-width: 1px;border-left-color: #444444;border-right-style: solid;border-right-width: 1px;border-right-color: #444444;border-top-style: solid;border-top-width: 1px;border-top-color: #444444;border-bottom-style: solid;border-bottom-width: 1px;border-bottom-color: #444444;" MadCap:Param_loop="false">
    </object>
</div>
You can see the behavior at http://staging.bplogix.com/support/doc

I just want the videos available to play, obviously, not to automatically download from the browser.
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: Videos Downloading

Post by RamonS »

I could not get to your staging site because it requires a user name and password. Anyhow, browsers download content when they do not know how to display it. That means a browser either needs to know how to handle MP4 natively or there needs to be a plugin installed that does that. A lot depends on the browser that you use, some support more formats natively than others.
Also, most browsers support mp4 only when it is encoded as H.264. For other mp4 encodings it looks as that it is necessary to have Apple Quicktime installed for a browser to display the video inline. While searching online I also came across this page: http://camendesign.com/code/video_for_everybody . They provide HTML5 code that makes use of the HTML5 video tag. That is supported by most modern browsers, see here: http://caniuse.com/video
All these options do without the MadCap specific attributes, which may or may not be a benefit.

I also wonder about this:

Code: Select all

src="Resources/Multimedia/config eform.mp4"
There is a space in front of "eform.mp4". Does the file name of the mp4 contain a space or is there a slash missing? If the slash is missing the browser might interpret the source attribute as folder and thus show something else than expected. In case the file name does contain a space, try removing it or replacing it with an underscore and see if that makes things any better.

Hope I could help.
DaleFranks
Jr. Propeller Head
Posts: 8
Joined: Fri Jun 12, 2015 12:56 pm

Re: Videos Downloading

Post by DaleFranks »

Mystery solved. We didn't have the MIME type for MP4 video set on the Staging server.
smajors
Sr. Propeller Head
Posts: 180
Joined: Mon Oct 21, 2013 9:28 am
Location: Midwest United States

Re: Videos Downloading

Post by smajors »

RamonS wrote: For other mp4 encodings it looks as that it is necessary to have Apple Quicktime installed for a browser to display the video inline.
Hello,

I'm having issues when trying to insert multimedia with Flare 11 for both .wmv and .mp4 videos. Both work fine on my desktop in any video program I use (mostly Windows Media Player). QuickTime isn't currently allowed or supported on my work computer. But you say Quicktime is necessary. Is that why I'm getting plugin errors in Flare and in my web browser?
Technical Writer
Training & Development Team/Marketing Department
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: Videos Downloading

Post by RamonS »

I really do not remember. That was over a year ago and a lot has changed since then. As per http://caniuse.com/#feat=mpeg4 all browsers support that format, but there are some known issues. Also, MIME type set on the server? That was the problem DaleFranks encountered.
Post Reply