Play HTML5 video locally - html5-video

I have created a presentation application with HTML, CSS and JavaScript which is going to be executed from a CD. Everything is fine with images and JavaScript but now I want to include a video. I have tried www.videojs.com and it is working fine in Chrome, but I can't get it working with Firefox.
How can I include a video inside a HTML page that can be played locally, without any web server involved? The browser is going to be Firefox portable only.

Related

Absolute path for Flash Netstream works in IDE but not on IIS webserver

I have a Flash player application that plays movies and, if I give it a relative URL, it works fine in the IDE (Flash Pro CC) and on the webserver. The problem is that I need to play a movie that is on the webserver, but in a folder outside of the website (outside of root).
I tried passing the filename as such: "file://C:/Users/MyName/Desktop/Movies/mymovie.mp4". This works fine in the IDE - I can press Ctrl+Enter and the demo works. It also works fine if I test it in a browser (Ctrl+Alt+Enter). But via my IIS server (which is on the same laptop as the IDE), given the same filename, the same application won't play (although, it will play if given a relative URL to a file within the website). Any ideas why not, or what's going on?
These work as they should, in IDE or browser:
netStream.Play("Movies/mymovie.mp4");
netStream.Play("http://localhost/Movies/mymovie.mp4");
This works, only in IDE, not in browser:
netStream.Play("file://C:/Users/MyName/Desktop/Movies/mymovie.mp4");
I see now, though, that the Flash SWF is on the client browser, and that's the problem. Is there a way to reference a file back on the server, but that sits outside of the website? Maybe something similar to this method: https://forums.adobe.com/thread/838338, but that works for .mp4 files?

video.js : infinite load on safari after putting the source on CDN

The title pretty say it all, a fully fonctional video.js player broke on safari for mac after moving the video on a distant media server. It works on chrome, firefox and IEs.
my first guess is a cross server issue, but it shoudln't work on others browsers if it was the case.

VideoJS font not applied to controls in Firefox 22

I did everything according to the setup instructions and got the video.js player play my flv video. The only problem is that the UI is broken in Firefox 22 because the font that is loaded correctly is not applied to the controls. I only see a box with some numbers inside instead of a play button for example.
This works in Chrome correctly.
I double checked with Firebug that the font file is loaded from the server and there are no problems.
Firebug shows this when I inspect the play button:
content: "";
And if I hover font-family I see the VideoJS font sample displayed.
It was the same origin policy. I was working on a development subdomain but the font was hosted on the main domain and that's why Firefox refused to use it. (Chrome used it)

Video not working in IE 10 without compatibility view enabled

i am trying to embed a video on a web page using video.js.
The video should play on mayor browsers. On Chrome and Firefox it is working fine, but i can not make it work in IE 10 on my local machine (Server 2008 R2). My html code is 100% of the supplied demo.html which is also not working on IE 10. I used absolute urls for video source and added mime types for video formats and additional files in IIS. When i use the compatibility view button, the movie works.
The following error code is displayed in the IE 10 console.
Video Error,[object Object]
The video is also working fine when i use another computer (windows 7, with IE 10, and without compatibility view) to surf to my dev machine, so i assume i have a local problem.
How can i debug this?

mp4 movies are not displayed in IE

I am using video.js to play mp4 video files.
It works fine in Chrome & Safari, but not in IE
Here is a link for a sample page:
http://www.shafan.co.il/gsPedia/Templates/Shafan/DisplayItem_NEW.asp?WordID=4485&Word=&CategoryID=143
The page is in Hebrew... Sorry... But you can clearly see where the video box is...
Thanks!!
check out the source on [http://videojs.com/](line 92). their video works in ie. i played a little with the plugin on localhost, and came across the same issue... try setting up the video plugin manualy (by running js code after video tag), as they did on their homepage (line 99). chears.