Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2011-05-03
2
Medium Priority
?
1,188 Views
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.
0
Comment
Question by:SonicVoom
  • 2
2 Comments
 
LVL 2

Accepted Solution

by:
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
            });
            </script>

just like that.
0
 
LVL 2

Author Closing Comment

by:SonicVoom
ID: 35684836
I figured it out using another technology.
0

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