Extension talk:GoogleVideo

From mediawiki.org
Latest comment: 15 years ago by Sergey Chernyshev in topic Google Video Widget
The following discussion has been transferred from Meta-Wiki.
Any user names refer to users of that site, who are not necessarily users of MediaWiki.org (even if they share the same username).

Dashes Issues[edit]

It seems some Google videos have a '-' in the URL to work. I feel this is an inconsistency that Google Video developers have put in so maybe its something beyond your control. What I suggest is having the option to allow the Editor to put in the whole Google URL, and then you can strip the right DocID from the URL and use that in your code as the DocID which will work. This will work for all cases then.

Without Dash[edit]

Not working:

<googlevideo>1785995542790678132</googlevideo>

Working:

<googlevideo>1504171818545745682</googlevideo>

With Dash[edit]

Working:

<googlevideo>-1785995542790678132</googlevideo>

Not working:

<googlevideo>-1504171818545745682</googlevideo>

--Matt57 15:14, 28 October 2006 (UTC)Reply

The answer[edit]

The DocID is a number which could be positive or negative. -1785995542790678132 is different from 1785995542790678132. One works the other doesn't. That's all :-) --Iubito 05:18, 30 October 2006 (UTC)Reply


New extensions for Windows Media Player and MySpace videos ?[edit]

I suppose it wouldnt be hard to make extensions for Windows Media Player and My Space Videos too.

Windows Media player:

<OBJECT id="VIDEO" width="320" height="240" 
	style="position:absolute; left:0;top:0;"
	CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
	type="application/x-oleobject">
	
	<PARAM NAME="URL" VALUE="your file or url">
	<PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
	<PARAM NAME="AutoStart" VALUE="True">
	<PARAM name="uiMode" value="none">
	<PARAM name="PlayCount" value="9999">
</OBJECT>

Myspace:

<embed src="http://lads.myspace.com/videos/vplayer.swf" 
flashvars="m=1310247292&type=video"
type="application/x-shockwave-flash"
width="430" height="346"></embed>

Could someone make these please? Thanks!

--Matt57 22:30, 29 October 2006 (UTC)Reply

Answer[edit]

I'm OK for MySpace (I don't know it, but why not?)

But I don't think media player is a good idea. MP is not installed on all platforms, some format use codec not available on all platforms. My friends on mac don't read the .WMV (Windows Media Video) files. But GoogleVideo accept WMV files, upload your files to google and use Google Video extension, that's better. GoogleVideo flash program send to user the best format depending on his system, screen size, probably download bandwith...

--Iubito 05:18, 30 October 2006 (UTC)Reply

Google Video Widget[edit]

Don't know if it's a good idea to post it here, but I developed Google Video MediaWiki Widget that essentially does exactly the same as this extension but uses Widgets extension. --Sergey Chernyshev 06:22, 1 June 2008 (UTC)Reply