Theora Video plugin for IE, Firefox, Safari

Topics on common programming languages
Mysoogal
Captain
Captain
Posts: 223
Joined: Thu Dec 17, 2009 7:15 am
Location: Planet VPS

Theora Video plugin for IE, Firefox, Safari

Post by Mysoogal » Sun Sep 05, 2010 5:30 am

TheoraBrowserPlugin.zip
tested and working on windows 7
(2.32 MiB) Downloaded 523 times
Neo :D , can you please help i need a simple MSI installer or exe for a really cool project i've been messing around and i would like to release it now on robot.lk :mrgreen:

this is the worlds first only Theora audio / video plugin that supports fullscreen ! and works on IE8,Firefox all versions, plus Safari 4,5

i've taken the Videolan project and removed all the garbage that's not needed for the web plugin to function, i've also only left support for the open source theora codec and audio, so now users do not need to install the full Videolan core to be able to stream theora clips on the browser :mrgreen:

I'm in need of a professional installer clean, i've got some experience with creating a exe installer but that is from some paid software that adds logos at the setup stages which really is annoying.

there are only two things to do, just extract the folder to

C:\Program Files\VideoLAN

go into
C:\Program Files\VideoLAN\VLC and reg Classes.REG so the plugin can work :mrgreen:

thats it !

this is my very own alternative to flash video ! my revenge
Filename: TheoraBrowserPlugin.zip
File description: Firefox,Safari,IE Video Plugin by mysoogals
File size: 2.32 MB
http://www.megaupload.com/?d=5KQCYXUQ
Mysoogal
Captain
Captain
Posts: 223
Joined: Thu Dec 17, 2009 7:15 am
Location: Planet VPS

Re: Theora Video plugin for IE, Firefox, Safari

Post by Mysoogal » Sun Sep 05, 2010 11:51 pm

Plugin Testing on Browsers- used screenr :mrgreen:

shows that the plugin is working on firefox,safari,ie

http://screenr.com/89r
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Re: Theora Video plugin for IE, Firefox, Safari

Post by Neo » Mon Sep 06, 2010 3:51 pm

We use Install shield to create setups. However it can be too much features for a small setup as this.
You may try following MSI creators.

http://www.softpedia.com/get/Authoring- ... EMSI.shtml
http://www.advancedinstaller.com/
Mysoogal
Captain
Captain
Posts: 223
Joined: Thu Dec 17, 2009 7:15 am
Location: Planet VPS

Re: Theora Video plugin for IE, Firefox, Safari

Post by Mysoogal » Tue Sep 07, 2010 12:00 am

Neo wrote:We use Install shield to create setups. However it can be too much features for a small setup as this.
You may try following MSI creators.

http://www.softpedia.com/get/Authoring- ... EMSI.shtml
http://www.advancedinstaller.com/

first one installed but couldn't find it

second one is paid version and little to hard to use because so many features

do you have any experience with the NSIS installer, I'm trying to use the basic script :geek:

this is the one i'm talking about

Code: Select all

;NSIS Modern User Interface
;Basic Example Script
;Written by Joost Verburg

;--------------------------------
;Include Modern UI

  !include "MUI2.nsh"

;--------------------------------
;General

  ;Name and file
  Name "Modern UI Test"
  OutFile "Basic.exe"

  ;Default installation folder
  InstallDir "$LOCALAPPDATA\Modern UI Test"
  
  ;Get installation folder from registry if available
  InstallDirRegKey HKCU "Software\Modern UI Test" ""

  ;Request application privileges for Windows Vista
  RequestExecutionLevel user

;--------------------------------
;Interface Settings

  !define MUI_ABORTWARNING

;--------------------------------
;Pages

  !insertmacro MUI_PAGE_LICENSE "${NSISDIR}\Docs\Modern UI\License.txt"
  !insertmacro MUI_PAGE_COMPONENTS
  !insertmacro MUI_PAGE_DIRECTORY
  !insertmacro MUI_PAGE_INSTFILES
  
  !insertmacro MUI_UNPAGE_CONFIRM
  !insertmacro MUI_UNPAGE_INSTFILES
  
;--------------------------------
;Languages
 
  !insertmacro MUI_LANGUAGE "English"

;--------------------------------
;Installer Sections

Section "Dummy Section" SecDummy

  SetOutPath "$INSTDIR"
  
  ;ADD YOUR OWN FILES HERE...
  
  ;Store installation folder
  WriteRegStr HKCU "Software\Modern UI Test" "" $INSTDIR
  
  ;Create uninstaller
  WriteUninstaller "$INSTDIR\Uninstall.exe"

SectionEnd

;--------------------------------
;Descriptions

  ;Language strings
  LangString DESC_SecDummy ${LANG_ENGLISH} "A test section."

  ;Assign language strings to sections
  !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
    !insertmacro MUI_DESCRIPTION_TEXT ${SecDummy} $(DESC_SecDummy)
  !insertmacro MUI_FUNCTION_DESCRIPTION_END

;--------------------------------
;Uninstaller Section

Section "Uninstall"

  ;ADD YOUR OWN FILES HERE...

  Delete "$INSTDIR\Uninstall.exe"

  RMDir "$INSTDIR"

  DeleteRegKey /ifempty HKCU "Software\Modern UI Test"

SectionEnd

where would i tell the installer to copy the folder VideoLan in Program Files, when move completes to register the classes.reg
Mysoogal
Captain
Captain
Posts: 223
Joined: Thu Dec 17, 2009 7:15 am
Location: Planet VPS

Re: Theora Video plugin for IE, Firefox, Safari

Post by Mysoogal » Tue Sep 07, 2010 12:19 am

I'm getting somewhere with this, I've created the installer but now i cant see anywhere how to execute the required classes.reg and MozillaPlugins.reg :cry:
i've used the installer based zip
theoraPlugin (2).zip
(1.88 MiB) Downloaded 573 times
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Re: Theora Video plugin for IE, Firefox, Safari

Post by Neo » Tue Sep 07, 2010 12:19 am

I have no experience with NSIS. Only Install Shield and Setup Factory.
where would i tell the installer to copy the folder VideoLan in Program Files, when move completes to register the classes.reg
If you are expecting compatibility under Vista and Windows 7, you will have to make the setup using a standard Install building program. There are lots of posts with complains against using special folders like Program Files/Registry under Win 7.
Mysoogal
Captain
Captain
Posts: 223
Joined: Thu Dec 17, 2009 7:15 am
Location: Planet VPS

Re: Theora Video plugin for IE, Firefox, Safari

Post by Mysoogal » Tue Sep 07, 2010 12:41 am

Neo wrote:I have no experience with NSIS. Only Install Shield and Setup Factory.
where would i tell the installer to copy the folder VideoLan in Program Files, when move completes to register the classes.reg
If you are expecting compatibility under Vista and Windows 7, you will have to make the setup using a standard Install building program. There are lots of posts with complains against using special folders like Program Files/Registry under Win 7.

this all sounds so complicated, i've in the irc now begging for help :lol: i don't think i'm getting anywhere,

the installer working in vista, i just need to execute the reg now somehow :cry:
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Re: Theora Video plugin for IE, Firefox, Safari

Post by Neo » Tue Sep 07, 2010 1:55 am

Once you know the .reg files are there, it seems you can use the following command.

Code: Select all

ExecWait '"regedit" /s yourregfile.reg'
You might also be able to convert the two .reg files in to NSIS commands using this tool.
Mysoogal
Captain
Captain
Posts: 223
Joined: Thu Dec 17, 2009 7:15 am
Location: Planet VPS

Re: Theora Video plugin for IE, Firefox, Safari

Post by Mysoogal » Tue Sep 07, 2010 3:19 am

Neo wrote:Once you know the .reg files are there, it seems you can use the following command.

Code: Select all

ExecWait '"regedit" /s yourregfile.reg'
You might also be able to convert the two .reg files in to NSIS commands using this tool.
yeah i already done that with Reg2Nsis classes.reg -O output.txt converted the regs to nsis code and copied code into the script, but i couldn't figure how to add the files and create a directory to copy the files to, its really a damm shame i cant figure it out yet, i asked in the videolan forum that guy j-b if he can create a installer for me, waiting for reply.
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Re: Theora Video plugin for IE, Firefox, Safari

Post by Neo » Tue Sep 07, 2010 5:38 pm

Can these help?

CreateDirectory

CopyFiles

These were taken form here.

On this simple tutorial, see Simply install a file.
Post Reply

Return to “.Net & Other Programming”