Learn how to a build a cloud-first strategyRegister Now


embed .mp4 in offline (cd-based) html page. flowplayer?

Posted on 2011-05-03
Medium Priority
Last Modified: 2012-05-11
I'm working on an html project that will be distributed by CD, and should not rely on a network connection for anything.

I have an mp4/h.264 video that I need to embed into a page. Currently, the video will play if I load the page through my local apache, but not if I access the page as file:///

Can anyone tell me how to accomplish this, even if it means ditching flowplayer?

					flowplayer("player", "data/flowplayer-3.2.7.swf", {
    			clip:  {
      				autoPlay: false,
      				url: "data/lcontent/English_Company_Profile.mp4",
     				autoBuffering: true

Open in new window

I'm also open to other methods.
Question by:SonicVoom
  • 2

Accepted Solution

SonicVoom earned 0 total points
ID: 35684571
JWplayer worked seamlessly!

<div id="container" style="width:480;height:240;">Loading the player ...</div>
            <script type="text/javascript"> jwplayer("container").setup({
            flashplayer: "data/jwplayer/player.swf", file: "data/lcontent/English_Company_Profile.mp4", height: 270, width: 480

just like that.

Author Closing Comment

ID: 35684836
I figured it out using another technology.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question