• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1201
  • Last Modified:

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

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
SonicVoom
Asked:
SonicVoom
  • 2
1 Solution
 
SonicVoomAuthor Commented:
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
 
SonicVoomAuthor Commented:
I figured it out using another technology.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now