Extension talk:OFlash
orificeflash.php
editHow com i get this when i save the page?
Error in orificeflash.php
PHP Notice: Undefined variable: oflashswf in C:\Inetpub\wwwroot\wiki\extensions\OFlash\orificeflash.php on line 50 PHP Notice: Undefined variable: out in C:\Inetpub\wwwroot\wiki\extensions\OFlash\orificeflash.php on line 55 PHP Notice: Undefined index: oflashAlready in C:\Inetpub\wwwroot\wiki\extensions\OFlash\orificeflash.php on line 58 PHP Notice: Undefined variable: oflashswf in C:\Inetpub\wwwroot\wiki\extensions\OFlash\orificeflash.php on line 50 PHP Notice: Undefined variable: out in C:\Inetpub\wwwroot\wiki\extensions\OFlash\orificeflash.php on line 55 PHP Notice: Undefined variable: oflashswf in C:\Inetpub\wwwroot\wiki\extensions\OFlash\orificeflash.php on line 50 PHP Notice: Undefined variable: out in C:\Inetpub\wwwroot\wiki\extensions\OFlash\orificeflash.php on line 55
This is what I'm getting:
- Warning: Parameter 3 to doOFlash() expected to be a reference, value given in /home/x/x/w/includes/parser/Parser.php on line 3470
Unusable
editWithout syntax examples, I find myself unable to use this extension and am looking for another solution.
It works on MW 1.19 for internal videos!
editI'll be damned. I've been trying to find something that works for playing internal videos on Mediawiki 1.19. I tried just about every other player with no luck whatsoever. I dropped this in the extension folder, added the runonce line to LocalSettings.php and dropped a video in the extensions/oflash folder. And it works! Here is the syntax I used...
<oflash file="Launch.mp4" caption="Hello World" width="640" height="400"/>
Someone needs to create an single video player that does youtube as well as internal videos that can be uploaded via the normal "Upload file" feature of Mediawiki. Until then, may have to do for internal video.
Thanks to the author for saving me from a complete mental breakdown! --Konjurer (talk) 20:23, 26 October 2012 (UTC)
UNIQ-QINU code leaked
editThis extension is not working as stated here Thread:Project:Support desk/oflash extension. --Ciencia Al Poder (talk) 09:34, 10 April 2013 (UTC)
Broken file in download link
editIt should be noted that as of 13 June 2013, the orificeflash.php file in the download link provided is broken. There are several syntax errors and its basic logic structure differs from the code provided on this wiki page. I was able to get the extension working by deleting the orificeflash.php file and copy/pasting the code provided on the wiki page into a new orificeflash.php file. Update the download file!