Extension talk:FramedVideo

Google Video Full-Screen & (-) fix
Click edit / view source to see coding in correct format!

I just downloaded & modded this extension for the first time today. The Full-Screen Google Video option did not work, so I fixed it. The google video ID sometimes has a - & sometimes not, so I made the default w/o the dash (-). I simplified it down a lot, so you may want to add back in default sizes/ etc.  Check out working Full-Screen Google Video option @  MeatIsPoison.com

Step 1: Open FramedVideo.php

Step 2: ''Replace the google video code around line 200 with... (REPLACE en (from hl=en) with any language code you wish)''

$url['googlevideo'] = 'http://video.google.com/googleplayer.swf?docid='. $id .'&hl=en&fs=true';

Step 3: Insert the following code around line 385

} elseif ($type=='googlevideo') { $output.= ' ';

Step 4: There is no final steps...

Enjoy

If anyone has modded this extension OR found a better extension to use, then please email me (Austin Wheeler) : [mailto:avw2@buffalo.edu avw2@buffalo.edu] OR [mailto:austin@austinvlwheeler.com austin@austinvlwheeler.com] ''Thanks.  I have listed some other mods that will need to be tackled. ''


 * Thanks for your fixes. They are now implemented into code. Language code issue has been fixed by using $wgLanguageCode in both GoogleVideo and YouTube embed codes. Check out the new version. Ruiz 02:20, 6 October 2008 (UTC)

YouTube Full-Screen

 * who's got this?
 * It's now fixed too. Ruiz 02:20, 6 October 2008 (UTC)

Add additional types in the form of Open Source Video CMS's

 * Examples
 * Vidiscript:
 * PHPMotion:
 * PHPDirector:
 * + Many more:
 * This way people could just switch out the url & use it to insert videos from anyones personal site onto their personal wiki (w/ full-screen capabilities of course)


 * Do you mean allowing unchecked HTML to be inserted into wiki page? It's not something we need on public wikis becouse it makes XSS attack easy. Ruiz 02:20, 6 October 2008 (UTC)

Why VideoFlash is so popular? Becouse it's simple and has YouTube support. Or why we have saparate category for YouTube supporting extensions? Or why we have three extensions written just for YouTube?
 * No not for public use, just for quicker programming. I mean just having a "default" extension coding for each video cms, & then you can use the find & replace function to quickly insert your own site name.  Check out MeatIsPosion.com - I set it up to embed from 2 vidiscript sites: GoldMedal.tv & Halfpipe.tv .   I will post this code soon...  Now for OsTube, PHPMotion, PHPDirector, etc... Austin Wheeler 01:42, 23 December 2008 (EST)
 * OK, I see your point now. However it find it impossible to put over for following reasons:
 * VidiScript will need at least three additional parameters: player URL (src=), video URL (file=) and website URL (returnpage=). That can be added, but...
 * Let's have a look at PHPmotion sites. Embed code is always the same and we allow users to choose player URL and video URL. They can embed videos from jamesmcavoymedia.org which is OK, but they can also embed videos from vidporn.org which isn't OK at all!
 * So we can't be sure of content providen by people using these free scripts. Of course player URL, video URL, website URL and other site-specific URL's and settings can be hardcoded into extension core. And so we come full circle: that's how FramedVideo is written. Nothing will get easier if we have one embed code and three or more site-specific parameters hardcoded.
 * The main question is: does anybody needs these sites? I have googled for how people are using FramedVideo and Widgets and my conclusion is: nobody needs anything other than YouTube! Even Wikia for a long time supports only YouTube which were enought for them, I guess. (OK, I saw that medialab-prado.es is using Vimeo.)
 * I liked your idea, but it's impossible to implement it for FramedVideo which is designed for public sites. You can however put your ideas into effect by writing new extension or doing a FramedVideo's fork. :) Ruiz 08:58, 24 December 2008 (UTC)

DIVX?
Is anyone working on embedding divx into mediawiki?

No description
I can embed the actual video but I cant seem to get a description in the frame below the videos i post. I pasted an example video syntax below but the Here's lovelly video doesnt show up. Is there something that I am doing wrong? Thanks for your time. 
 * This has been fixed in version 1.0.4.2. You just need to download it and replace the older files in your extensions/FramedVideo/ directory by the new one. Ruiz 18:00, 10 November 2008 (UTC)

Thanks it worked....I appreciate your help

The fullscreen modes for google and youtube
The fullscreen modes for google and youtube do not work on the latest release of mediawiki. What's up with this?
 * I found the reason. Bugfix is coming today. Ruiz 16:06, 3 January 2009 (UTC)
 * It's fixed now. Ruiz 16:24, 3 January 2009 (UTC)

YouTube HD support
Please, can you add showing YouTube HD videos via option parameters (for showing HD videos as default when site is opened)

Thx. --Grof 14:49, 26 February 2009 (UTC)
 * Which one do you mean to be default, 480x295 or 595x360? The second one gonna be harder and it's not officialy supporter by YouTube I think. Ruiz 15:29, 26 February 2009 (UTC)


 * Can be 480x295, but only what I suggest is that you can use HD video immediately, like using &fmt=22 option parameter, without pressing "watch in HD" link or HD button. Is it possible? --Grof 12:34, 27 February 2009 (UTC)
 * Oh, so you don't want 480x295 or 595x360 to be default size when type="youtube", just the HD quality to by default, right?
 * Yeah, I can add it as soon as I get access to MediaWiki's svn (FramedVideo has been moved there lately). Not very soon, but I will.
 * Meanwhile, if you are familiar with PHP, you can use this tutorial to fix YouTube embed code in . Ruiz 13:54, 27 February 2009 (UTC)
 * OK, thx. I'll look at the PHP code as you suggest. --Grof 14:44, 27 February 2009 (UTC)

VIMEO
there seems to be a bug in VIMEO. when i use the height and width supplied by the Vimeo embed-code, it is displayed distorted (horizontal stretch) in the wiki (1.12) --203.206.80.123 10:52, 2 April 2009 (UTC)
 * Have you tried using height2 parameter instead of height? Vimeo and Dailymotion needs it for proper scalling, otherwise using width and height gives precisely a flash object with a given size and it may looks crappy. Ruiz 13:25, 2 April 2009 (UTC)
 * yes, that triggers this error :

An error has occurred! Video type "vimeo" requires "height" parameter, not only "width" parameter.
 * also, "height2" is not spec'd in the parameter grid, although it's mentioned above the grid..hmm
 * --203.206.80.123 14:00, 2 April 2009 (UTC)
 * OK, I will look at it. Ruiz 14:16, 2 April 2009 (UTC)