Alex Smolov
Alex Smolov

Reputation: 1861

Accessing local .swf file from the web (html page)

Our company uses learning management system to teach employees. We have very slow internet connection in some offices. The courses that have video content do not run at all.

Our courses mainly consist of html page that launches .swf-file that launches a bunch of video files.

We thought about copying .swf-file and all the videos to a network drive in every office. In that case, user would start an .html page > .html page would ask him to show a path to a .swf-file > browser would play all that.

Of cause our method would not work, since local (or network in our case) files cannot be accessed and played from the web.

We use Internet Explorers only. Would it be possible to build an IE extension to make it work? Could you show me an example or give an advice on how to do it?

Important: .sfw-file should work in browser as it should be able to connect to LMS to save progress and publish scores.

Upvotes: 4

Views: 1938

Answers (4)

Siva Tumma
Siva Tumma

Reputation: 1701

There is one trick you can adapt to.

Since you are ready to put all your tutorial videos in a network drive per an office of you, It will be good to put them in a running apache httpd instance. (Any lightweight http server, for that matter).

That way, you can access them in html pages, speed of the buffering would be just like local file system. You can also be in touch with your LMS about the progress and do your stats.

Please let us know if this helped finally.

Upvotes: 3

cwang
cwang

Reputation: 1104

I'm thinking if you can try editting hosts file to redirect video request from source server to local network.

or

if you LMS is based on HTML, it is quite easy to write a JavaScript plug-in to replace all video link.

Upvotes: 0

strah
strah

Reputation: 6742

On the machine you want to run your app you can go to this URL:
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
(this is the setting panel for the Flash player, it's not an image)
and add the SWF path to the 'trusted locations'.

Upvotes: 1

SuRu
SuRu

Reputation: 739

upload your swf file to: http://swf-to-exe.com/

and convert it to exe and run..

Upvotes: 1

Related Questions